正在執行下面的查詢並導致錯誤。在oracle中將數據從一個表複製到另一個表 - 不工作
insert into me.attr (EXPS)
values(select EXPS from mine.attr
where fiscal_year=2012
and accounting_period=11
and gaap_cd='ZA');
Error: insert into me.attr (EXPS) values (select EXPS from mine.attr
where fiscal_year=2012 and accounting_period=11 and gaap_cd='ZA')
Error at Command Line:31 Column:2
Error report:
SQL Error: ORA-00936: missing expression
00936. 00000 - "missing expression"
*Cause:
*Action:
有人可以幫我解決這個問題。
做的表是什麼樣子? – clav