Jump to content

Quick and easy, Please help


jonnyw6969

Recommended Posts

Hi all,

 

Just a quick one.

 

I have two tables, customers and orders. I want to select all the customer names who havent place an order. I select the ones that have placed an order like this

 

SELECT customer.name from customer,order WHERE order.userid = customer.userid

 

how do i select the ones who havent?

 

Many Thanks

Link to comment
https://forums.phpfreaks.com/topic/107424-quick-and-easy-please-help/
Share on other sites

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.