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 u can find the n row from a table?

Answers were Sorted based on User's Feedback



how u can find the n row from a table?..

Answer / a.brahmam

select * from(select rownum r,column name,from table name)
where r=&n;

Is This Answer Correct ?    0 Yes 0 No

how u can find the n row from a table?..

Answer / rashmi

select max(rownum) from table1 where rowid is not null

Is This Answer Correct ?    2 Yes 3 No

how u can find the n row from a table?..

Answer / kris17.danger

SELECT * FROM ( SELECT ROWNUM R , A.* FROM TABLE_NAME A )
WHERE R=N;

Herer N is the number of row which need to be find.

Is This Answer Correct ?    0 Yes 1 No

how u can find the n row from a table?..

Answer / manoj gogoi

select a2.*
from
(select rownum r,a1.* from a a1)a2
where a2.r=&Any_Row_U_Want

Is This Answer Correct ?    0 Yes 2 No

how u can find the n row from a table?..

Answer / guest

select rownum,ename,sal,empno from(select ename,sal,empno from
table_name order by sal) group by rownum,ename,sal,empno
having rownum=(select count(*) from table_name

Is This Answer Correct ?    10 Yes 13 No

how u can find the n row from a table?..

Answer / anudeep

select * from employee where rowid=&n;

Is This Answer Correct ?    1 Yes 4 No

how u can find the n row from a table?..

Answer / karunakar

select *
from employees
where rowid=(select max(rowid) a
from employees)

Is This Answer Correct ?    1 Yes 5 No

how u can find the n row from a table?..

Answer / abhi

select * from employee where employeeno="1";

Is This Answer Correct ?    1 Yes 5 No

how u can find the n row from a table?..

Answer / monika

select employee_id,last_name,salary
from employees
where rownum < n
ORDER by salary

Is This Answer Correct ?    0 Yes 11 No

Post New Answer

More SQL PLSQL Interview Questions

When are we going to use truncate and delete?

0 Answers  


What happens if a procedure that updates a column of table X is called in a database trigger of the same table ?

1 Answers  


how would concatenate strings in mysql? : Sql dba

0 Answers  


How many types of triggers exist in pl/sql?

0 Answers  


25.67,-1 Trunc = 20 Round= 30 HOW????

2 Answers   Karrox,


What are the conditions an underlying table must satisfy before a cursor can be used by a positioned update or delete statement? : Transact sql

0 Answers  


Mention what does plvtab enables you to do when you showthe contents of pl/sql tables?

0 Answers  


What is a heap in sql?

0 Answers  


What is an index and types of indexes. How many number of indexes can be used per table ?

12 Answers   Accenture, BirlaSoft, Cognizant, CTS, Symphony,


how can i create a user defined datatype

3 Answers  


what is bcp? When is it used?

0 Answers  


Explian rowid, rownum? What are the psoducolumns we have?

0 Answers  


Categories