几天来,我一直在努力弄清楚如何使我的update语句工作。select语句看起来像预期的那样工作,但是当我试图更新我的列值时,我得到了一个ORA-01427 single-row subquery returns more than one row错误。代码如下:SET act_end_time = (WITH base FROMact_start_time < (SELECT
我对SQL很陌生,我一直在使用一个查询。give 10% bonus on total salary to the employees who are not in IT departments我想出了这个问题set bonus=(select (0.1*total_salary) "Bonus"
from salary_paid=