Alle Eintraege aus T1, die keine Zuordnung in T2 haben
SELECT t1.shopid
FROM shops t1
LEFT JOIN products t2 ON t1.shopid = t2.product_shop_id
WHERE t2.product_shop_id IS NULL
weiterhin interesanntes Forumstopic dazu:
http://www.php-resource.de/forum/showthread.php?s=&threadid=28292
Pingback: casino en ligne francais