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 second highest salary of an employee.

Answer Posted / preetir

select min(sal) from (select distinct sal from emp order by
desc where rownum < 2)

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the difference between drop and truncate commands in sql?

1066


what are the differences between char and nchar? : Sql dba

1120


Why cannot I use bind variables in ddl/scl statements in dynamic sql?

1216


Is sql low level language?

1026


What is left join in sql?

1060


How to select 10 records from a table?

1167


How many postgresql users are there, worldwide?

1071


What are different types of indexes?

1017


What is dialect in sql?

954


What is sql exception?

980


Does sql full backup truncate logs?

1029


Mention what does the hierarchical profiler does?

1100


Is primary key clustered index?

955


which operator is used in query for pattern matching? : Sql dba

1010


What is sql performance tuning?

929