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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the purpose of a sql?

542


What is trigger with example?

583


What is oracle pl sql developer?

543


Explain some predefined exceptions.

600


ERROR:Insert or update on table"accnt" violates foreign key constraints "acct_to_curr_symbol" DETAILS:KEY(accnt_curr_id)(-2)is not present in the table "curr_symbol" ......solve The Problem..

2017






How many postgresql users are there, worldwide?

590


What is difference between stored function and application function?

603


What is the difference between in and between in sql?

592


What is sqlcommand?

576


When is the update_statistics command used?

584


Advantages and disadvantages of stored procedure?

594


Explain spool.

707


What is nosql vs sql?

588


How subquery works in sql?

553


What does pragma mean?

524