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

SELECT * FROM TABLE WHERE columnName =
(SELECT MAX(column_name) FROM TABLE WHERE
column_name<(SELECT max(column_name) FROM TABLE))

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why we use sql profiler?

955


Why do we use cursors?

984


Which is faster count (*) or count 1?

1029


Can we have two clustered index on a table?

1024


What are the possible values for the boolean data field?

961


How do you create a unique index?

1045


how to convert character strings to numeric values? : Sql dba

1104


What are different joins used in sql?

1054


What is oracle and pl sql?

1118


What are the three forms of normalization?

1045


Is progress software supports to ( pl/sql )?

1034


Why do we go for stored procedures?

1053


Why is sql better than hql?

984


What is data type in sql?

955


Enlist some predefined exceptions?

1055