Použijte syntaxi ANSI a bude mnohem jasnější, jak tabulky spojujete:
SELECT s.name as Student, c.name as Course
FROM student s
INNER JOIN bridge b ON s.id = b.sid
INNER JOIN course c ON b.cid = c.id
ORDER BY s.name
Použijte syntaxi ANSI a bude mnohem jasnější, jak tabulky spojujete:
SELECT s.name as Student, c.name as Course
FROM student s
INNER JOIN bridge b ON s.id = b.sid
INNER JOIN course c ON b.cid = c.id
ORDER BY s.name