marcoqf
3/29/2019 - 2:22 PM

seleziona clienti senza un ordine

select * from tbl_customers
where tbl_customers.Customer_ID not in (
    select DISTINCT tbl_orders.fk_customer_id
    from tbl_orders)