structured query language (sql)
can someone please help me with this sql coding.... the diagram is given below..
List the all products which haven’t been bought by any customer....
(i tried this but i m not sure if this is correct)
SELECT ProductID, CustomerID
FROM Products , Customers
WHERE ProductID NOT IN (SELECT CustomerID);
Last edited by simon47; 02-13-2013 at 04:47 AM..
|