SQL: SELECT DISTINCT(author) AS username, COUNT(*) AS posts FROM [Table]threads WHERE dateline BETWEEN AND GROUP BY author ORDER BY posts DESC LIMIT 0, 20
Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND GROUP BY author ORDER BY posts DESC LIMIT 0, 20' at line 1
Errno.: 1064