Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 How to define a query which is similar to UNION?

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2001-10-04 : 09:00:54
Eddie writes "Hi there
I need to make a query like this :

SELECT Name FROM Company WHERE Name LIKE '%Brad'
UNION
SELECT Name FROM Company WHERE Name LIKE '%Greg'

But I have to do it without using a UNION . Is there any other way I could do it without using the UNION, maybe using the JOIN statement or something?
please help!
Thanks

Regards,
Ed"
   

- Advertisement -