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 Select 38th row details in table without using rownum ?

Answers were Sorted based on User's Feedback



How to Select 38th row details in table without using rownum ?..

Answer / narsimharaju

By using cursors we can resolve this problem..

Is This Answer Correct ?    12 Yes 1 No

How to Select 38th row details in table without using rownum ?..

Answer / gaurav kumar

SELECT * FROM table LIMIT 37,1;

Is This Answer Correct ?    7 Yes 1 No

How to Select 38th row details in table without using rownum ?..

Answer / jilani555

declare
cursor c is select * from emp;
s number:=0;
begin
for i in c loop
s:=s+1;
if s=6 then
dbms_output.put_line(i.empno||' '||i.ename||' '||i.sal);
end if;
end loop;
end;

Is This Answer Correct ?    0 Yes 0 No

How to Select 38th row details in table without using rownum ?..

Answer / sama

select * from table_name order by some_column LIMIT 1 OFFSET 37;

Is This Answer Correct ?    1 Yes 1 No

How to Select 38th row details in table without using rownum ?..

Answer / sandipan4allinterview

select * from Table where
(select row(MIN) from Table where
(select top 38 * from Table))


NOTE: This is without using the keyword "rownum" as mentioned in questions..

Code as SQL Server

Is This Answer Correct ?    4 Yes 5 No

How to Select 38th row details in table without using rownum ?..

Answer / sushant

select * from(
select rownum num, e.* from emp e)
where num=38;

Is This Answer Correct ?    0 Yes 1 No

How to Select 38th row details in table without using rownum ?..

Answer / love

Select * from <tablename> where sno<37 | sno>39

Is This Answer Correct ?    9 Yes 14 No

How to Select 38th row details in table without using rownum ?..

Answer / debasis mohanty

Select * from Table_name
where rownum < 39
MINUS
Select * From Table_name
Where rownum < 38;

Is This Answer Correct ?    3 Yes 11 No

How to Select 38th row details in table without using rownum ?..

Answer / ramravi

i am not able to say

Is This Answer Correct ?    4 Yes 13 No

How to Select 38th row details in table without using rownum ?..

Answer / ramravi

i ain't able to say

Is This Answer Correct ?    2 Yes 15 No

Post New Answer

More Oracle Errors Interview Questions

ORA-12418: user string not found

1 Answers  


CLSR-00506: Unmatched resource name prefix string is specified

1 Answers  


NNL-00220: Statistic counter logging is currently disabled

1 Answers  


ORA-03293: Cluster to be truncated is a HASH CLUSTER

1 Answers  


ORA-14315: cannot merge a partition with itself

1 Answers  


ORA-25226: dequeue failed, queue string.string is not enabled for dequeue

1 Answers  


PCC-01300: You are not authorized to run Pro*PL/I

1 Answers  


ORA-16218: This database is already preparing to switch over.

1 Answers  


ORA-01276: Cannot add file string. File has an Oracle Managed Files file name.

1 Answers  


NNO-00630: setting request-processing delay to number seconds

1 Answers  


ORA-01531: a database already open by the instance

1 Answers  


RMAN-20506: no backup of archivelog found

1 Answers  


Categories