Answer Posted / amedela chandra sekhar
SQL> select * from (select rownum as rno,emp.* from emp)
2 where rno=&n;
Enter value for n: 2
old 2: where rno=&n
new 2: where rno=2
RNO EMPNO ENAME JOB MGR
HIREDATE SAL
---------- ---------- ---------- --------- ----------
--------- ----------
COMM DEPTNO
---------- ----------
2 7499 ALLEN SALESMAN 7698
20-FEB-81 1600
300 30
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Can we use threading in pl/sql?
what are wild cards used in database for pattern matching ? : Sql dba
How does index help in query performance?
What is the purpose of primary key?
how to calculate expressions with sql statements? : Sql dba
Is coalesce faster than isnull?
Can a foreign key be null?
Differences between Oracle 9i and 10g (Probably in terms of SQL and PL/SQL)?
Why use stored procedures?
Can a key be both primary and foreign?
How delete all records from table in sql?
How much does sqlite cost?
What is sql select statement?
what is the difference between join and union? : Sql dba
Why is sharding used?