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]

Reply via email to