Created
April 7, 2011 15:07
-
-
Save oleander/907953 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 channels.* | |
FROM channels | |
INNER JOIN gigs ON gigs.channel_id = channels.id | |
INNER JOIN songs ON songs.id = gigs.song_id | |
INNER JOIN songs_urls ON songs_urls.song_id = songs.id | |
INNER JOIN urls ON urls.id = songs_urls.url_id | |
INNER JOIN services ON services.id = urls.service_id |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment