I have a table .in the table 100 recored is there .we have
get the single row with out using clause..
Answers were Sorted based on User's Feedback
Answer / ajit
Select Rn, ename
From ( Select Rownum rn, Ename
From Emp
)
Where Rn = Nth;
Is This Answer Correct ? | 1 Yes | 6 No |
Answer / nannesaheb chinthalacheruvu
Question is not clear..kindly elaborate the same.
As i understand is "Retrive the single row with out using the where clause"...if so the below query may help you to achive the same.
Select e.*,max(rowid) from emp e;
select e.*,min(rowid) from emp e;
Is This Answer Correct ? | 2 Yes | 14 No |
write a query to find 4th max salary
How do I count duplicates in sql?
suppose u hav 1 book with set...page 1-100 n 101 -200 now print page from 2-100 n 102 -200... how we will do..?
What is bulk compiling in pl/sql.?
What is a crud api?
What is the use of sqldataadapter?
What is the difference between having and a where in sql?
How is pl sql different from sql?
Enlist the characteristics of pl/sql?
What is pl sql variable?
Name the operator which is used in the query for pattern matching?
Which join condition can be specified using on clause?