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

Do triggers have restrictions on the usage of large datatypes, such as long and long raw?

0 Answers  


what is the correct way of selection statement a. select/from/table_name/orderby/groupby/having b. select/from/table_name/groupby/having/orderby

5 Answers   HCL, JPMorgan Chase,


Explain cursor types?

0 Answers  


i want run a sql query query? which phases are run in a back ground? pls tell me the answer

1 Answers  


Which normal form is best?

0 Answers  






What are the types of operators available in sql?

0 Answers  


Explain sql data types?

0 Answers  


What is a constraint?

0 Answers  


What is procedure function?

0 Answers  


what is the difference between delete and truncate statement in sql? : Sql dba

0 Answers  


Explain correlated query work?

0 Answers  


What is the difference between a primary key and a unique key?

0 Answers  


Categories