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...


write a query to display the third record from the employee
table?

Answers were Sorted based on User's Feedback



write a query to display the third record from the employee table?..

Answer / krishna

To display the 3rd record of emp table we can write query as
select * from emp where rownum<4 minus select * from emp
where rownum<3;

Is This Answer Correct ?    9 Yes 0 No

write a query to display the third record from the employee table?..

Answer / srinu

select * from(select rownum r,emp.* from emp) where r=3;

Is This Answer Correct ?    6 Yes 3 No

write a query to display the third record from the employee table?..

Answer / kumar

select * from emp where rownum<4 minus select * from emp
where rownum<3;

Is This Answer Correct ?    1 Yes 1 No

write a query to display the third record from the employee table?..

Answer / g.arangarasu

No friends,

rownum is one of the column name of table like
emp_no,emp_name etc. if u have not rownum column in ur
table,how to solve it.

we can retrieve this record through physical location that
is using rowid not rownum.

select min(rowid) from emp not in(select min(rowid) from
emp not in(select min(rowid) from emp));

Is This Answer Correct ?    1 Yes 1 No

Post New Answer

More Cognos Interview Questions

architecture of cognos8

1 Answers   IBM, Sonata,


What are the batches and it’s details?

0 Answers  


How to deploy from one server to another server?

0 Answers  


Can you define snapshot?

0 Answers  


Can we install cognos 8 on windwos xp sp3.......(and i like to use data base as sql server 2000.....is it preferable?)......... pls let meknow... thaks in advance...

1 Answers  


how to find the rank in report studio? i need steps for this question.

2 Answers  


Write some methods to apply securities in framework manager model?

0 Answers  


Column level security in report

4 Answers  


What are slice and dice?

0 Answers  


Can we use 2 packages in report studio at a time is there any alternative for this Thanks Nithin

7 Answers   IBM,


what is the use of lock and unlock

1 Answers  


What is a business view? and what is the difference b/w business view and folder?in cognos report life cycle when it will be involved ?

1 Answers  


Categories