Skip to content

Instantly share code, notes, and snippets.

@Jauny
Created October 24, 2012 03:48
Show Gist options
  • Save Jauny/3943596 to your computer and use it in GitHub Desktop.
Save Jauny/3943596 to your computer and use it in GitHub Desktop.
SELECT alls.the_thing, others.thing FROM alls
INNER JOIN others ON alls.id = others.all_id
WHERE alls.the_thing = 'ROCKS'
ORDER BY alls.the_thing DESC
LIMIT 9000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment