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 find five highest salaries from EMP table.
(there is a column SALARY)

Answers were Sorted based on User's Feedback



Write a query to find five highest salaries from EMP table. (there is a column SALARY)..

Answer / mohammad murtuza ali

select * from salary where rowno<6

Is This Answer Correct ?    4 Yes 15 No

Write a query to find five highest salaries from EMP table. (there is a column SALARY)..

Answer / amit bharane

select salary from employees
where rownum<=5
order by salary desc

Is This Answer Correct ?    3 Yes 22 No

Write a query to find five highest salaries from EMP table. (there is a column SALARY)..

Answer / mohammad murtuza ali

select * from SALARY where where rowno<6 and empname like
empname

Is This Answer Correct ?    2 Yes 29 No

Write a query to find five highest salaries from EMP table. (there is a column SALARY)..

Answer / sujith

select * from test_sujith where rownum < 6 order by item3 desc

Is This Answer Correct ?    2 Yes 31 No

Post New Answer

More SQL PLSQL Interview Questions

What is an invalid partition table?

0 Answers  


Does asenumerable execute the query?

0 Answers  


What is a mutating table and a constraining table?

0 Answers  


What is data control language?

0 Answers  


What is before trigger?

0 Answers  


What is the difference between database trigger and stored procedure?

0 Answers  


how can we find the select statement is indexed or not?

3 Answers   CTS,


Why use triggers in sql?

0 Answers  


what is the difference between varray and table data type..please expalain with some examples... under what situation you will go for varray..instead of index by table...

1 Answers   HCL, Satyam,


what is the syntax for using sql_variant_property? : Transact sql

0 Answers  


I want to create synonym for table emp but in my pc it is giving insufficient previliges.I am using user scott.Please suggest me.

3 Answers  


table having two columns - entity,zone enity zone pen east pen west pen north pen south pen east pencil east pencil east pencil west I want the output as : entity east west north south pen 2 1 1 1 pencil 2 1 0 0

2 Answers  


Categories