我正在創建一個項目,我加入了三張表。爲了完成它,我需要解釋每條線路以及它們的工作方式。MySql代碼的簡單解釋
SELECT competition.*, teams.team_name, teams.team_position
FROM competition
INNER JOIN players
ON teams.team_id = competition.team_id
INNER JOIN sports
ON sports.sport_id = competition.sport_id
WHERE team_level = 'Professional';
我對內部連接有一個基本的瞭解,但是我希望有更多的解釋。
很多謝謝
This is not on topic for this [** forum **](http://stackoverflow.com/help/on-topic)你應該閱讀這樣的教程http://www.w3schools.com/sql /sql_join.asp –