Answer Posted / santosh kumar
declare
type str is table of number index by binary_integer;
tab_res str; ---------declaring variable....
min_eid number;
max_eid number;
begin
select min(employee_id),max(employee_id) into
min_eid,max_eid
from employees;
for i in min_eid..max_eid loop
select salary into tab_rec(i) from employees
where employee_id=i;
end;
| Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
What is logical backup in oracle?
What are the uses of a database trigger?
How to use windows user to connect to the server?
State the difference between a primary key and foreign key?
How to start an oracle instance?
How to create a new tablespace in oracle?
How to assign values to variables?
How to define and use table alias names in oracle?
What is a trigger and what are its types in oracle?
How to use like conditions in oracle?
Define oracle database
Explain implicit cursor.
Please send me Informatica 8.1 certification dumps, my mail id mona85gupta@gmail.com
What is a nvl function?
How do I connect to oracle?