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

how to find the second highest salary from emp table?

Answer Posted / amol

select MAX (sallary) from emp where sallary<=(select MAX(sallary) from emp)

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the advantages of sql?

1005


How to get help at the sql prompt?

1052


How to display the current date in sql?

1007


What do you understand by pl/sql records?

959


What is int identity in sql?

1057


How to Declare Fixed Length String Value In PL SQL

1101


Write a query to display the current date in sql?

966


explain the advantages and disadvantages of stored procedure? : Sql dba

956


Why left join is used in sql?

914


Explain the difference in execution of triggers and stored procedures?

966


What is the most restrictive isolation level? : Transact sql

1022


What is sqlerrm?

881


Define implicit and explicit cursors.

1072


Can we create index on primary key?

913


What is exception? What are the types of exceptions?

1030