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
 Transact-SQL (2000)
 join qery

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2005-04-28 : 08:16:06
misako writes "could you please tell me how can I use somethign like this


select t1.id,t1.lname
from table1 t1
where (t1.id,t1.lname) in (select t2.id,t2.lname from table1 t2)"

spirit1
Cybernetic Yak Master

11752 Posts

Posted - 2005-04-28 : 08:41:28
look into inner join in BOL = Books Online = SQL server help

Go with the flow & have fun! Else fight the flow
Go to Top of Page
   

- Advertisement -