我試圖根據另一個表(學生表)中的另一列和另一個表(學校表)的列 更新列UpdateError:接收錯誤ORA - 01427單行子查詢返回多個行
代碼是:
update student_table
set student_code =
(select l.student_code
from school_table l, student_table n
where l.school = n.schoolname)
我收到以下錯誤
ORA - 01427單行子查詢返回不止一行
任何幫助,將不勝感激。
感謝羅傑我不得不改變它的一些,但它的工作! – user1307149 2012-04-22 01:49:45