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
 General SQL Server Forums
 New to SQL Server Programming
 item and partern from t1 that dont exist in t2

Author  Topic 

gongxia649
So Suave

344 Posts

Posted - 2006-05-12 : 09:19:44
t1
item
partner


t2
item
partner
fname
store

i like select item and partern from t1 that dont exist in t2

madhivanan
Premature Yak Congratulator

22864 Posts

Posted - 2006-05-12 : 09:30:24
Select item,pattern from t1 t where not exists
(select * from t2 where item=t1.item and pattern=t.pattern)

Madhivanan

Failing to plan is Planning to fail
Go to Top of Page
   

- Advertisement -