here's some background that I've got
select distinct(username) from xf_post;
Gives me all users that have posted.
select count(username) from xf_post where username='TerminalAddict';
gives me a the number of posts I have made.
post_date is an int presumably with a timestamp.
I'd like a query that does:
select username, post count, and userid for all users that have a posted more than 20 posts between date 1 and date 2
usage: tell me who has made 20 posts in the last month.