Skip to content

Instantly share code, notes, and snippets.

@tokenvolt
Last active November 27, 2015 19:13
Show Gist options
  • Save tokenvolt/02c9e9273f8004242c16 to your computer and use it in GitHub Desktop.
Save tokenvolt/02c9e9273f8004242c16 to your computer and use it in GitHub Desktop.
SELECT * FROM
(SELECT * FROM
(SELECT id FROM users) AS users_only_ids
WHERE id > 2) AS users_only_ids_filtered
ORDER BY id;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment