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

Is it mandatory for the primary key to be given a value when a new record is inserted?

0 Answers  


Differentiate between sga and pga.

0 Answers  


How do you remove duplicates without using distinct in sql?

0 Answers  


Can we have exception part in trigger ?

1 Answers  


Why plvtab is considered as the easiest way to access the pl/sql table?

0 Answers  






What is a mutating table

5 Answers   TCS, Tech Mahindra,


can i write pl/sql code in a package

2 Answers  


Which is faster count (*) or count 1?

0 Answers  


what are numeric data types? : Sql dba

0 Answers  


What are the two parts of design view?

0 Answers  


How does index help in query performance?

0 Answers  


What does fetching a cursor do?

0 Answers  


Categories