PHP-Code:
SELECT u.user_id u_user_id, u.username u_username, u.user_regdate u_user_regdate,
b.time_edited b_time_edited, b.user_id b_user_id, COUNT(b.user_id) AS blog_count
FROM users u
INNER JOIN blogs b
ON b.user_id = u.user_id
GROUP BY b.user_id
ORDER BY blog_count DESC
bin für jeden tipp dankbar
Kommentar