Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

how to find 5th row ?

Answer Posted / bikash khuntia

Hi Freinds,

I have seen the solution given. But in oracle if you will
select records from a table then everytime you will not
fetch the same squence of records. it will come
differently.Hence we cannot select the 5th row from a table
in oracle.

But the solution is that we can select 5th row from a table
in arranging the records in ascending or descending way by
a column and then select the 5th row as below:-

SELECT BIKK.SAL FROM
(SELECT ROWNUM RW,BIK.SAL SAL FROM (SELECT SAL FROM
TEMP_SAL ORDER BY SAL) BIK) BIKK
WHERE rw=6

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is data control language (dcl)?

1043


What is sql and explain its components?

1007


What are the different dml commands in sql?

1085


What is time based sql injection?

901


Why do we need cursor in pl sql?

1078


How can you fetch common records from two tables?

1001


How can a function retun more than one value in oracle with proper example?

1026


How many types of keys are there in sql?

986


Why query optimization is needed?

862


what is oracle database ? : Sql dba

967


What is the advantage of nosql?

994


Which is faster view or stored procedure?

887


How can we connect an Android App to an Oracle database and use the PL/SQL procedural code?

1073


how to create a new table by selecting rows from another table in mysql? : Sql dba

1007


how to fetch alternate records from a table? : Sql dba

1051