Skip to content

Instantly share code, notes, and snippets.

@bsa7
Created May 1, 2014 17:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bsa7/2b19cb097e45c85868fd to your computer and use it in GitHub Desktop.
Save bsa7/2b19cb097e45c85868fd to your computer and use it in GitHub Desktop.
mysql left join
SELECT `db_entity_id`,`role_type_id`,`rights_set`,`parent_id`
FROM `db_entity_role_rights`
LEFT JOIN `db_entities`
ON `db_entity_role_rights`.`db_entity_id`=`db_entities`.`id`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment