Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
With the first request, you pull the top active user ids, and either join, or simply select the second one, take the users.
select user_id, count(id) as count_ids from posts where `datetime`>{день назад} order by count_ids desc limit 10
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question