I want to ad column by using subquery.
Insert into Table_name
values (1, 'a', 'b', sysdate, sysdate + 120, 'c',
(Select number from other_table where column_name = 'x'), 2);
Error:
ORA-01427: single-row subquery returns more than one row.
How can I solve it?
numbercolumn. Please share some sample data.