Created
November 17, 2020 14:42
-
-
Save ratpik/cef28494e4abe668c4531be0f71f49b9 to your computer and use it in GitHub Desktop.
Timestamp Range Query MySQL
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 category LIKE 'search%' AND client_timestamp BETWEEN timestamp '2020-11-17T00:00:00' AND timestamp '2020-11-18T09:59:29' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment