How do I go about selecting COUNT(*)s from multiple tables in MySQL?
Such as:
SELECT COUNT(*) AS table1Count FROM table1 WHERE someCondition JOIN??
Try changing to:
SELECT COUNT(table1.*) as t1, COUNT(table2.*) as t2, COUNT(table3.*) as t3 FROM table1 LEFT JOIN tabel2 ON condition LEFT JOIN tabel3 ON condition