mysql - SQL - Products with No Sales -
 I am trying to list all the products that have not got any sales. I'm really close, but I'm trying to use the existing statement to display all the product IDs displayed in the product table, but not in the orderline table; And so there is no sale my code is as follows;      You can only export    Products from the product. Select product, enter productivity on the product. Productivity = orderline.producted where not present (orderline from orderline. Select the product type) Order by the producer     LEFT JOIN  list  product , even if the  orderline . In that case,  orderline  contains all the columns in the  NULL  values that are the ones that you want in the result.   
 
Comments
Post a Comment