Created
April 4, 2017 14:18
-
-
Save savepong/cabbca44863ca40245a6773d85437e4c to your computer and use it in GitHub Desktop.
MySQL/SQL: Group by date only on a Datetime column
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT DATE(latest_update) DateOnly FROM users GROUP BY DateOnly LIMIT 10 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment