Created
November 22, 2017 01:16
-
-
Save brunokunace/de3c2200af0ffb569ad8fede266e5d4a 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 display_name | |
//from user_profiles | |
//where id in (select friendships.to_user from friendships where friendships.from_user=1) | |
// | |
//union | |
// | |
//select display_name | |
//from user_profiles | |
//where id in (select friendships.from_user from friendships where friendships.to_user=1) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment