SELECT COUNT(t1.id) as howmatcha, COUNT(t2.id) as howmatchb, COUNT(t3.id) as howmatchc, t1.sender_id, t2.sender_id, t3.owner_id, t4.id, t4.nick FROM thread_comments AS t1, forum_posts AS t2, likes AS t3, users AS t4 WHERE t1.sender_id=t4.id, t2.sender_id=t4.id, t3.owner_id=t4.id GROUP BY t4.id ORDER BY howmatcha DESC, t4.nick ASC LIMIT 15
SELECT COUNT(t1.id) as howmatcha, COUNT(t2.id) as howmatchb, COUNT(t3.id) as howmatchc, t1.sender_id, t2.sender_id, t3.owner_id, t4.id, t4.nick FROM thread_comments AS t1, forum_posts AS t2, likes AS t3, users AS t4 WHERE t1.sender_id=t4.id, t2.sender_id=t4.id, t3.owner_id=t4.id GROUP BY t4.id ORDER BY howmatcha DESC, t4.nick ASC LIMIT 15