Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

comparing tables

Status
Not open for further replies.

Tracy3e

Technical User
Jun 23, 2001
54
CA
Hello, just want to do a query to pick out a record from one table if the same userid doesn't exist in the other table.

select userid from table1 where userid not in table2;

Is that possible?


server version: 3.23.54


Thanks.
 
With a tiny tweak, the command worked!

You guys are so helpful - and fast!

Thank you.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top