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
Which one is better subquery or joins?
What types of commands can be executed in sql*plus?
What are the different tcl commands in sql?
How do I install sql?
How to add new employee details in an employee_details table with the following details
What is left inner join in sql?
What is the advantage of nosql?
What is before and after trigger?
Where is pl sql used?
What is the difference between inner join and outer join?
What are all ddl commands?
What is a table partition?
Why we use stored procedure instead of query?
Is it mandatory for the primary key to be given a value when a new record is inserted?
tell us something about heap tables. : Sql dba