CHRISCHROS: verschachtelte Abfrage

Beitrag lesen

hallo zusammen,
ich habe ein Problem mit einer Abfrage die ich nicht hinbekomme. Bis jetzt sieht das so aus:

SELECT * FROM table_1
ORDER BY (
   SELECT COUNT( * )
   FROM table_2
   WHERE tid=table_1.tid
)
LIMIT 0 , 10

Versuch mal

SELECT *
FROM table_1
LEFT JOIN table_2 ON table_1.tid = table_2.tid