Connor and Chris will both be at AI World from October 12 to October 17 , the premier Oracle conference of 2025. If you're in Vegas, please come say Hi or pop into our sessions
Thanks for the question, Mukti.
Asked: September 16, 2015 - 1:31 pm UTC
Last updated: September 18, 2015 - 4:00 am UTC
Version: Oracle 10
Viewed 50K+ times! This question is
create table t (x integer); insert into t values ((select 1 from dual)); 1 row inserted. select * from t; X ---------- 1
delete t; insert into t select rownum from dual connect by level <= 5; 5 rows inserted. select * from t; X ---------- 1 2 3 4 5
insert into student select 'student_id', job_id , 'student name' from batch_job where batch_status = 'SUCCESS';
Rajeshwaran, Jeyabal, September 16, 2015 - 2:35 pm UTC
insert into student(c1,c2,c3..) select c1,c2,c3... from batch_job b where b.batch_id in (select s.batch_id from student s)
Share and learn SQL and PL/SQL; free access to the latest version of Oracle Database!
Classes, workouts and quizzes on Oracle Database technologies. Expertise through exercise!