我需要运行以下更新脚本
update table1 set col1 = 'xxxx',
col2 = (select cc.client_type
from table2 t2, table3 t3, table1 t1
where t2.col3='YYY'
AND t3.col4 != 'aaa'
AND t3.col5 = 'Y'
)
我收到以下错误
Error report:
SQL Error: ORA-01427: single-row subquery returns more than one row
01427. 00000 - "single-row subquery returns more than one row"
我正在使用 Oracle 10g。这有什么帮助吗??