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...

Write a query to get 2nd maximum salary in an employee table ?

Answer Posted / m

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

Is This Answer Correct ?    222 Yes 39 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between sql and oracle?

1122


What are sql functions? Describe in brief different types of sql functions?

1101


What are literals in sql server?

1163


Is sql scripting language?

1049


What do you mean by dbms? What are its different types?

1011


How do I trace sql profiler?

969


How do I create an index in word?

1029


What is data type in database?

989


what is a tablespace? : Sql dba

1049


What is sql lookup?

915


Can procedure in package be overloaded?

1083


tell us something about heap tables. : Sql dba

1096


What does the base_object_type column shows in the user.triggers data dictionary view?

1048


How do I filter in sql profiler?

990


First round ------------------- - Procedure - Packages - Views - Virtual tables - Can we use dcl with in function? - Joins and few scenarios - Triggers and its type - Pragma, type and its functionality - How to create db link in oracle - Materialized view - How to find duplicate values from table? - Cursor and its functionality - Write a script to display friday and its date from a entire year. - Exception Handling Second round ------------------------ Gave a scenario like. Need to write a function to perform. When user try to change a password. It must not be last five password and a given password can be combination of characters, symbols, upper and lower case.

1576