My first suggestion would be an embed sub-query.
SELECT
fields
FROM
Table.
( SELECT
fields
FROM
TABLE
WHERE
Name LIKE "%Engineering%"
) AS FooBar
WHERE
FooBar.ID = Table.ID
AND Name LIKE "%Open%"
Of course this assumes you are using a DBMS that allows sub-queries. I understand that not all of them do.
--------------
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA
"C code. C code run. Run code run. Please!"
- Cynthia Dunning
Confidentiality Notice: This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message.
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
- SQL Help Mickael
- RE: SQL Help Michael Traher
- Re: SQL Help Mickael
- RE: SQL Help Michael Traher
- Re:SQL Help Stan Winchester
- SQL Help Mickael
- RE: SQL Help Cantrell, Adam
- SQL Help Bruce, Rodney S HQISEC/Veridian IT Services
- Re: SQL Help Jeff Small
- RE: SQL Help Mark A. Kruger - CFG
- RE: SQL Help Ian Skinner
- RE: SQL Help Jochem van Dieten
- RE: SQL Help Ciliotta, Mario
- RE: SQL Help Bruce, Rodney S HQISEC/Veridian IT Services
- RE: SQL Help Bruce, Rodney S HQISEC/Veridian IT Services
- RE: SQL Help Mark A. Kruger - CFG
- RE: SQL Help Bruce, Rodney S HQISEC/Veridian IT Services
- RE: SQL Help Bruce, Rodney S HQISEC/Veridian IT Services
- RE: SQL Help Jochem van Dieten
- RE: SQL Help Bruce, Rodney S HQISEC/Veridian IT Services
- RE: SQL Help Bruce, Rodney S HQISEC/Veridian IT Services