Re: The 2013 Poser of the Year Tournament...it's Coming....
Sadly that is not data I have readily accessible.
Here's all we need, adjust for variables:
SELECT username,postcount
FROM userdatabase
ORDER BY postcount DESC
LIMIT 0,150;
I say 150 because last year's organizer has the list of 100 posters in last year's event, along with the post counts, and he/she can do the comparison accordingly. In addition, he/she will remove administrators from the list, as well as inactive members, as they are not eligible for PotY.
I'm sure I could probably come up with a more complex pseudo-SQL statement that would iterate through the list to check the date and time of the last time the user posted (as well as if they are an admin), and add them to the list until we get 100. In fact, how about this:
SELECT username,postcount
FROM userdatabase
WHERE
datelastpost BETWEEN current_date() and ADDDATE(current_date(), INTERVAL -365 DAY) AND
userisadmin IS FALSE
ORDER BY postcount DESC
LIMIT 0,100;
Maybe a nested SELECT is need to get that datelastpost?