mysql select top users problem
Posted
by moustafa
on Stack Overflow
See other posts from Stack Overflow
or by moustafa
Published on 2010-03-17T13:57:49Z
Indexed on
2010/03/17
14:11 UTC
Read the original article
Hit count: 400
mysql
i have users table and i have posts table i want select from users the top users that have the big amount of posts from posts table and order them by numbers of posts
i can make it by array_count_values() by i cant order it
now i think if i make it by one mysql query by left and join will be more better
table structure
posts
id | auther_id
© Stack Overflow or respective owner