I have a database driven community web site, where users can post entries. Each entry has a date. Now I’d like to know who was the first user who had an entry count of 1000. Is this possible with a SQL query or do I have to do that programatically, counting each post until the limit is reached? Or any other solutions?
Share
This is an example where I find first user who reaches 3 messages. Hope it helps you.