Created
July 21, 2016 06:37
-
-
Save anonymous/30771719bd7c2f60a8b231508fdd6fde to your computer and use it in GitHub Desktop.
the description for this gist
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 u.id, u.name, u.is_active, d.id, d.name, d.user_id FROM users u | |
LEFT JOIN devices d ON u.id = d.user_id WHERE u.id = ? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment