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 proxy method?
Please explain oracle left join with an example?
How to export data with a field delimiter?
What is a named program unit?
How to do a full database export?
What is a table in oracle?
What is oracle database 10g express edition?
How remove data files before opening a database?
State all possible different index configurations a table can possibly have?
How to create a table index?
What is the use of file param in imp command?
What are the restrictions on external table columns?
What happens if you lost a data file?
how to do daily transactions with out sql* loader control file regesterd in apps?
Differentiate between pre-select and pre-query?