Skip to content

Instantly share code, notes, and snippets.

@HenryAtWealthfront
Created May 23, 2023 21:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save HenryAtWealthfront/7f47f78f04ab5c67324aa1f98ed17ff2 to your computer and use it in GitHub Desktop.
Save HenryAtWealthfront/7f47f78f04ab5c67324aa1f98ed17ff2 to your computer and use it in GitHub Desktop.
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