MySQL Record Group по подсчету даты созданного
//count for every date:
SELECT date(created_at), COUNT(*)
FROM message_requests
GROUP BY date(created_at)
Excited Elephant
//count for every date:
SELECT date(created_at), COUNT(*)
FROM message_requests
GROUP BY date(created_at)