45,000 Jobs - Get an Interview Call,  Post Your Resume Here
SURESHKUMAR.NET FORUMS
Registered Member Login:
Not a member? Register today!



Welcome to the SURESHKUMAR.NET FORUMS.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.




Query to find first and last records of a table

        

In this blog I will post all FAQs, code snippets, real time problems and solutions and any other links which I feel every one needs and can take advantage of.
Rate this Entry

Query to find first and last records of a table

Posted 13-11-07 at 11:34 PM by sk_kireeti
select * from
(select rownum sno, empno,ename from emp)
where
sno =1
or sno=(select count(*) from emp);
Posted in Oracle SQL
Comments 0 Email Blog Entry
Total Comments 0

Comments

 

All times are GMT +6.5. The time now is 06:03 PM.

More Interview Questions Here...

Content Relevant URLs by vBSEO 3.3.0