yo,
habe da einen denkfehler ;-)
SELECT auto.id, COUNT(*)
FROM auto, sonder
WHERE auto.id = sonder.iid
AND sonder.sid IN (1, 2, 3, 15)
GROUP BY auto.id
HAVING COUNT(*) = 4
das sollte es eigentlich tun....
Ilja
yo,
habe da einen denkfehler ;-)
SELECT auto.id, COUNT(*)
FROM auto, sonder
WHERE auto.id = sonder.iid
AND sonder.sid IN (1, 2, 3, 15)
GROUP BY auto.id
HAVING COUNT(*) = 4
das sollte es eigentlich tun....
Ilja