Jump to content

[SOLVED] selecting those rows which are not in another table


chet139

Recommended Posts

Hi,

 

I want to be able to select the rows from the customer table - but only those customers who are not in the order table.....

 

Any ideas I tried these but obviously does not work:

 

select * from customer where customer.custId NOT in furniture.order.custId

 

select * from customer where customer.custId NOT = furniture.order.custId

 

Any suggestions.

 

Thank You

 

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.