Last active
January 26, 2022 10:34
-
-
Save clue/aa617c594bb25247b523ae4b471c6099 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 | |
users.name, | |
groups.name AS `group` | |
FROM | |
URL('https://gist.github.com/clue/dde9700e9be30db2abd3c763833aa631/raw/962e5d6a337a9bf14e1816f548ea996358c235f8/users.json') AS users, | |
URL('https://gist.github.com/clue/dde9700e9be30db2abd3c763833aa631/raw/962e5d6a337a9bf14e1816f548ea996358c235f8/groups.json') AS groups | |
WHERE users.`group` = groups.id | |
ORDER BY `group` DESC |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment