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

can you tell me what are the dimension tables are used in project

0 Answers   GalaxE,


What is the difference between a cascading report and drillthru report? Why do we go for drill thru report?

0 Answers  


what is requery in cognos?

0 Answers   HMN, Satyam, TCS,


what is filter?give me one example that you created a report in your project?

3 Answers   IBM,


what is the security module used in cognos?

2 Answers   Cognos, IBM,


How is cognos model organization works?

0 Answers  


In Report page i have three types like (List,Cross tab,Chart), using Conditional Block i need only type of Report (Chart)at run time.How to do this I need The Complete Steps to do this?

1 Answers  


what is render variable

5 Answers   Accenture, Cap Gemini, Systime, TCS,


why we r using report studio in webbased only and fm windows based only

1 Answers  


difference between join and union in reportstudio?

2 Answers   IBM,


is there any difference between operational database and data base?if yes what r they?

0 Answers  


How can we find out cardinality between two tables?

3 Answers   Dominion,


Categories