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 / sagar padekar

select * from bill_gen
where total_payable< (select max(total_payable) from
bill_gen) order by total_payable desc limit 1;

hey please refer total_payable as salary amount

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is data definition language?

1048


Is grant a ddl statement?

856


What are different clauses used in sql?

1077


What action do you have to perform before retrieving data from the next result set of a stored procedure ?

2529


what are the advantages and disadvantages of views in a database? : Sql dba

996


Who developed sql?

962


What is sql server and ase?

978


What does over partition by mean in sql?

923


Is sql microsoft?

978


What is the difference between instead of trigger and after trigger?

949


What is the purpose of the sql select top clause?

1021


How do you remove duplicate records from a table?

887


What is trigger point?

950


Difference between table function and pipelined function?

969


Does truncate remove indexes?

971