Created
March 10, 2017 21:38
-
-
Save marcosnakamine/7c988edaa5c216ac8998a987c57948ad to your computer and use it in GitHub Desktop.
MySQL - Inner join with multiple tables
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 * | |
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