diff --git a/solution/2300-2399/2339.All the Matches of the League/README.md b/solution/2300-2399/2339.All the Matches of the League/README.md index 760c536a964c3..166724e203425 100644 --- a/solution/2300-2399/2339.All the Matches of the League/README.md +++ b/solution/2300-2399/2339.All the Matches of the League/README.md @@ -67,7 +67,7 @@ Teams ่กจ: SELECT t1.team_name AS home_team, t2.team_name AS away_team FROM Teams AS t1 - CROSS JOIN Teams AS t2 + JOIN Teams AS t2 WHERE t1.team_name != t2.team_name; ``` diff --git a/solution/2300-2399/2339.All the Matches of the League/README_EN.md b/solution/2300-2399/2339.All the Matches of the League/README_EN.md index 9507130236aa1..430c355b76f90 100644 --- a/solution/2300-2399/2339.All the Matches of the League/README_EN.md +++ b/solution/2300-2399/2339.All the Matches of the League/README_EN.md @@ -62,7 +62,7 @@ Teams table: SELECT t1.team_name AS home_team, t2.team_name AS away_team FROM Teams AS t1 - CROSS JOIN Teams AS t2 + JOIN Teams AS t2 WHERE t1.team_name != t2.team_name; ``` diff --git a/solution/2300-2399/2339.All the Matches of the League/Solution.sql b/solution/2300-2399/2339.All the Matches of the League/Solution.sql index 86627a42718cd..057f9e6ee9e86 100644 --- a/solution/2300-2399/2339.All the Matches of the League/Solution.sql +++ b/solution/2300-2399/2339.All the Matches of the League/Solution.sql @@ -2,5 +2,5 @@ SELECT t1.team_name AS home_team, t2.team_name AS away_team FROM Teams AS t1 - CROSS JOIN Teams AS t2 + JOIN Teams AS t2 WHERE t1.team_name != t2.team_name;