Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- most active questions in the last 7 days
- select q.question, q.created_at as asked_on, count(1) as answers from answers a, questions q where a.question_id=q.id and a.created_at>SUBDATE(CURRENT_DATE(), INTERVAL 7 DAY) group by a.question_id order by answers desc, asked_on desc
Add Comment
Please, Sign In to add comment