Created
April 1, 2021 20:41
-
-
Save calexandrepcjr/16fcb0c73a17d0fadf26f188c33dad13 to your computer and use it in GitHub Desktop.
Extract only rows from weekends
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 table | |
WHERE EXTRACT(ISODOW FROM created_at) IN (6, 7); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment