Last active
December 26, 2015 01:28
-
-
Save kenn/7071032 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 | |
(SELECT id FROM sort_keys ORDER BY sort_key) INNER JOIN main_table ON sort_keys.id = main_table.id | |
WHERE ... OFFSET 0 LIMIT 10 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment