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 / prashanth

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

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is date functions?

1092


What are the rules to be applied to nulls whilst doing comparisons?

1370


What is a sql schema used for?

1156


Write a sql query to get the third highest salary of an employee from employee_table?

1120


What are the types of variable use in pl sql?

1138


what is the difference between sql and t-sql? : Transact sql

1136


what are the types of subquery? : Sql dba

1161


What does t sql mean?

1003


How do you use a while loop in pl sql?

1056


What is trigger and stored procedure in sql?

1094


What is varchar data type in sql?

1140


Write a sql select query that only returns each name only once from a table?

1078


What does 0 mean in sql?

1020


What does := mean in pl sql?

1091


What is not in sql?

999