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
How can you know that statistics should be updated?
What is the use of prepared statement?
how to rename an existing column in a table? : Sql dba
How do you take the union of two tables in sql?
What is mdb stand for?
how to create a new view in mysql? : Sql dba
Is primary key an index?
What are the limitations of sql express?
What is the difference between clustered and non-clustered indexes?
How to generate a salary slip like jan 1000 1000 feb 1000 2000 ... dec 1000 12000
What are different types of indexes?
Can we update views in sql?
how would you get the current date in mysql? : Sql dba
What is nosql example?
what is bcp? When is it used?