Created
May 23, 2023 21:11
-
-
Save HenryAtWealthfront/7f47f78f04ab5c67324aa1f98ed17ff2 to your computer and use it in GitHub Desktop.
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 | |
id | |
FROM | |
orders | |
WHERE | |
completed_at BETWEEN date_sub(date(now()), INTERVAL 1 day) AND date(now()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment