write a procedure to find top second no from a list of
numbers
Answer / roshan
create or replace procedure pr_getmax(enter_number in
number,sal out number)
as
begin
select salary into sal from
(select rownum rn,salary
from
(select
a.salary
from
employees a
order by a.salary desc) )a
where
a.rn = enter_number;
end;
Is This Answer Correct ? | 2 Yes | 2 No |
I have a CURSOR then why we need BULK COLLECT again?
What is not equal in sql?
How many types of index are there?
sql query to get zero records from a table having n no of records
When do we use triggers?
Define concurrency control. : Transact sql
Delete duplicate records in the emp table.
what is “go” in t-sql? : Transact sql
What is function and procedure?
Which normal form is best?
Is it possible to access the current value in a session before accessing next value?
How do you declare a variable in pl sql?