SELECT a.id, a.titel, COUNT(*) FROM tabelle1 a INNER JOIN tabelle2 b ON a.id=b.pictures GROUP BY a.id, a.titel
Bitte nachschauen was das einzelne tut :-)
SELECT a.id, a.titel, COUNT(*) FROM tabelle1 a INNER JOIN tabelle2 b ON a.id=b.pictures GROUP BY a.id, a.titel
Bitte nachschauen was das einzelne tut :-)