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



I have a table .in the table 100 recored is there .we have get the single row with out using claus..

Answer / ajit

Select Rn, ename
  From ( Select Rownum rn, Ename
           From Emp
        ) 
  Where Rn = Nth;

Is This Answer Correct ?    1 Yes 6 No

I have a table .in the table 100 recored is there .we have get the single row with out using claus..

Answer / prasad

Please give Fast

Is This Answer Correct ?    0 Yes 9 No

I have a table .in the table 100 recored is there .we have get the single row with out using claus..

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

Post New Answer

More SQL PLSQL Interview Questions

write a query to find 4th max salary

7 Answers  


How do I count duplicates in sql?

0 Answers  


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..?

6 Answers  


What is bulk compiling in pl/sql.?

0 Answers   MCN Solutions,


What is a crud api?

0 Answers  


What is the use of sqldataadapter?

0 Answers  


What is the difference between having and a where in sql?

0 Answers  


How is pl sql different from sql?

0 Answers  


Enlist the characteristics of pl/sql?

0 Answers  


What is pl sql variable?

0 Answers  


Name the operator which is used in the query for pattern matching?

0 Answers  


Which join condition can be specified using on clause?

0 Answers  


Categories