同じテーブル (学生テーブル) の別の列と別のテーブル (学校のテーブル) の列に基づいて列を更新しようとしています。
コードは次のとおりです。
update student_table
set student_code =
(select l.student_code
from school_table l, student_table n
where l.school = n.schoolname)
次のエラーが表示されます
ORA - 01427 単一行のサブクエリが複数の行を返します
どんな助けでも大歓迎です。