Skip to content

Instantly share code, notes, and snippets.

@marcosnakamine
Created March 10, 2017 21:38
Show Gist options
  • Save marcosnakamine/7c988edaa5c216ac8998a987c57948ad to your computer and use it in GitHub Desktop.
Save marcosnakamine/7c988edaa5c216ac8998a987c57948ad to your computer and use it in GitHub Desktop.
MySQL - Inner join with multiple tables
SELECT *
FROM (
table1 INNER JOIN table2
ON table1.column1 = table2.column1
)
INNER JOIN table3
ON table1.column2 = table3.column1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment