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 are three advantages to using sql?

1008


What is sqlca in powerbuilder?

1000


What is the difference between null value, zero, and blank space?

1196


What is difference between hql and native sql?

1161


How can we connect an Android App to an Oracle database and use the PL/SQL procedural code?

1136


What is difference between inner join and cross join?

963


How do I count rows in sql query?

986


What is pl sql in oracle?

1039


Can I join the same table twice?

1041


How do I pipe the output of one isql to another?

1000


How does postgresql compare to mysql?

1032


How do you determine the current isolation level? : Transact sql

1152


Can we use ddl statements in stored procedure?

1140


When a dml statement is executed, in which cursor attributes, the outcome of the statement is saved?

1111


What is the difference between an inner and outer join?

1009