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

what are the advantages and disadvantages of cascading style sheets? : Sql dba

1 Answers  


What are the pre requisites?

1 Answers  


how to saw triggers output in pl/sql database?

1 Answers  


What are two statement types in sql?

1 Answers  


column A column b | output 10 7 | 10 5 8 | 8 7 -9 | 7 3 5 | 5 0 6 | 6 Write a sql query to print such output.

5 Answers  


What are system versioned tables?

1 Answers  


What is the Query to print out the individual total number of duplicate row in sql.

5 Answers   TCS,


Is primary key always clustered index?

0 Answers  


Why do we need unique key in a table?

1 Answers  


What are different types of tables in sql?

1 Answers  


What is the need of merge statement?

1 Answers  


How to process query result in pl/sql?

1 Answers  


Categories