I am trying to insert MULTIPLE rows into a table at a time using select as following
insert into myTable values(myTable_Seq.nextval,100,select column1 from anotherTable where column1 not in(10,20));
Here my last value is selecting values from another table with a where condition.
I am failing here.It's giving missing expression error.
Can we do like this or is it a must to do a forloop.
Thanks in advance.