select p.products_id from products p
left join products_to_categories p2c on p.products_id=p2c.products_id where p.products_id not in (select products_id from products_to_categories where categories_id in('4','5'))
left join products_to_categories p2c on p.products_id=p2c.products_id where p.products_id not in (select products_id from products_to_categories where categories_id in('4','5'))
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货