Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
左外部結合を使用するクエリを実行しようとしていますが、構文エラーが発生し続けます。何が原因なのかわからない。
SELECT employee.emp_num, employee.emp_lname, pilot.pil_license FROM employee LEFT OUTER JOIN pilot WHERE employee.emp_num = pilot.emp_num;
あなたのエラーは「キーワード「where」の近くの構文が正しくありません。」だと思います。次のように書き換える必要があります。
SELECT employee.emp_num, employee.emp_lname, pilot.pil_license FROM employee LEFT OUTER JOIN pilot ON employee.emp_num = pilot.emp_num;
「WHERE」を「ON」に置き換えます。それだけで。