I have users
table. I would like to generate a report of user who joined for that day.
Problem is, my DateJoined
field is a timestamp
field,
As the query is following as:
SELECT COUNT(UserID) AS TOT FROM users GROUP BY DateJoined
does not work, how do I get it to GROUP BY
just the date part and not the time of DateJoined
field?