Created
February 29, 2024 11:08
-
-
Save esedic/6b66a1b0230630b830aa269840769f38 to your computer and use it in GitHub Desktop.
Select items/articles that were created on the same day
This file contains 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 * FROM mytable WHERE MONTH(created) = MONTH(CURDATE()) AND DAY(created) = DAY(CURDATE())); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment