I launched an online journal and would like to skip the easy way to track 3 indicators:
- How many comments are left every day.
- How many links you send to my users.
- How many new members I get every day.
This information is all my database, I'm just not sure how to get it.
I have a comment table with approximately 3,500 comments. Each comment receives a row in the table. One of the columns in the table is a βtimestampβ.
I assume there is a query that selects this table, sorts the rows by timestamp, groups them in 24-hour increments, and then counts the number of rows in each group - letting me know how many new comments I received every day.
What will this query look like? I think I can find out others if I have my first job.
mysql drupal
bflora
source share