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


i want to know about mr.b.kotravel......who has answered
for second maxmium salary from employee table

Answers were Sorted based on User's Feedback



i want to know about mr.b.kotravel......who has answered for second maxmium salary from employee t..

Answer / mohan

select max(sal) from emp where sal<(select max(sal) from
emp)

Is This Answer Correct ?    2 Yes 0 No

i want to know about mr.b.kotravel......who has answered for second maxmium salary from employee t..

Answer / surya

select * from emp where 2-1=(Select count(distinct(sal)
from emp e where emp.sal<e.sal and ename='mr.b.travel)

Is This Answer Correct ?    0 Yes 0 No

i want to know about mr.b.kotravel......who has answered for second maxmium salary from employee t..

Answer / obulesu

select * from (select e.*,dense_rank() over(order by sal desc) r from emp e) where r=2;

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Oracle General Interview Questions

If server is in US and client is in india there is timezone is diffrence, How can we display date in indian time when data is displayed from US server timezone?

1 Answers  


Is postgres faster than oracle?

0 Answers  


How to define a record variable to store a table row?

0 Answers  


candidate key is subset of super key but not vice-verse explain

0 Answers  


Can an Integrity Constraint be enforced on a table if some existing table data does not satisfy the constraint ?

2 Answers  


How to rename a tablespace in oracle?

0 Answers  


What is raw datatype in oracle?

0 Answers  


how to delete all duplicate records from a table using subquery?

7 Answers   ABC, Cap Gemini,


What are advantages fo Stored Procedures?

1 Answers  


Explain the use of record option in exp command.

0 Answers  


What is the difference between post-database commit and post-form commit?

0 Answers  


Give the different types of rollback segments.

0 Answers  


Categories
  • Oracle General Interview Questions Oracle General (1809)
  • Oracle DBA (Database Administration) Interview Questions Oracle DBA (Database Administration) (261)
  • Oracle Call Interface (OCI) Interview Questions Oracle Call Interface (OCI) (10)
  • Oracle Architecture Interview Questions Oracle Architecture (90)
  • Oracle Security Interview Questions Oracle Security (38)
  • Oracle Forms Reports Interview Questions Oracle Forms Reports (510)
  • Oracle Data Integrator (ODI) Interview Questions Oracle Data Integrator (ODI) (120)
  • Oracle ETL Interview Questions Oracle ETL (15)
  • Oracle RAC Interview Questions Oracle RAC (93)
  • Oracle D2K Interview Questions Oracle D2K (72)
  • Oracle AllOther Interview Questions Oracle AllOther (241)