![]() |
select count(*) from jforum_users where user_regdate < to_date('2010-01-01', 'yyyy-mm-dd')
select count(*) from jforum_users where user_regdate < to_date('2010-01-01', 'yyyy-mm-dd') and (deleted is null or deleted=0)
select count(*) from jforum_users where user_actkey is null and user_regdate < to_date('2010-01-01', 'yyyy-mm-dd')
select count(*) from jforum_posts where post_time < to_date('2010-01-01', 'yyyy-mm-dd')
select count(*) from jforum_topics where topic_time < to_date('2010-01-01', 'yyyy-mm-dd')
select count(*) from jforum_users where user_regdate < to_date('2010-01-01', 'yyyy-mm-dd') and user_posts > 0
select username, count(*) as posts from jforum_posts p, jforum_users u where p.user_id = u.user_id and post_time > to_date('2009-01-01', 'yyyy-mm-dd') and post_time < to_date('2010-01-01', 'yyyy-mm-dd') group by username order by posts desc