Hello,
I have a table EMP described as such
EMP_NAME
-------
James
John
Peter
Luke
Patrick
Gorge
I will like to fetch emp_name to EMP_TEMP so that each time I select the EMP_NAME I can only select new record(s) not duplicate of what was previously selected.
For example, if my first satement is:
insert into emp_temp
select emp_name from emp where rownum < 3;
select * from emp_temp
emp_name
--------
James
Peter
I will like to know how to run the statement again so that my next statement will be like the following:
select * from emp_temp
emp_name
--------
Luke
Patrick
Thanks for your response
I have a table EMP described as such
EMP_NAME
-------
James
John
Peter
Luke
Patrick
Gorge
I will like to fetch emp_name to EMP_TEMP so that each time I select the EMP_NAME I can only select new record(s) not duplicate of what was previously selected.
For example, if my first satement is:
insert into emp_temp
select emp_name from emp where rownum < 3;
select * from emp_temp
emp_name
--------
James
Peter
I will like to know how to run the statement again so that my next statement will be like the following:
select * from emp_temp
emp_name
--------
Luke
Patrick
Thanks for your response