marcoqf
3/29/2019 - 2:06 PM

sql prodotti mai ordinati

-- seleziona i prodotti mai ordinati 
select * from tbl_products where tbl_products.Product_ID NOT IN(
select DISTINCT tbl_orders.fk_product_id
from tbl_orders)