I have the following query that outputs the users that received the highest number of favorites in the past week in descending order:
Code MySQL:
I would like to be able to extend this list to contain all users, not just from the past week, but still order them by the same criteria (the number of favorites they got in the past week and not by the number of faves they have in total).
I tried to include a subquery in the select but didnt have any luck with it.
Thanks in advance for any help


Reply With Quote






Bookmarks