Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

mysql record group by created date count

//count for every date:

SELECT date(created_at), COUNT(*)
FROM message_requests
GROUP BY date(created_at)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #mysql #record #group #created #date #count
ADD COMMENT
Topic
Name
4+5 =