Skip to content

Instantly share code, notes, and snippets.

@oleander
Created May 5, 2010 19:29
Show Gist options
  • Save oleander/391307 to your computer and use it in GitHub Desktop.
Save oleander/391307 to your computer and use it in GitHub Desktop.
SELECT *
FROM `gigs`
LEFT OUTER JOIN `songs` ON `songs`.`id` = `gigs`.`song_id`
ORDER BY gigs.channel_id
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment