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

select max(salary) from emp where salary not in (select
max(salary) 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 do you mean by dbms? What are its different types?

1018


what is error ora-03113: end-of-file on communication channel?

1165


Why do we need cursors in pl sql?

1088


Can we use pl sql in sql server?

1086


State some properties of relational databases?

1058


How do I delete a trigger?

968


What is auto increment in sql?

1128


What if we write return in procedure?

1431


How do you define a foreign key?

1008


Why we use join in sql?

979


Can we insert data into materialized view?

947


Can we want to pass a parameter payroll_id to this external pl/sql function, how do we do it?

1066


Can we use pl sql in mysql?

1015


Explain select statements in sql?

1059


Why do we use view in sql?

970