Write a query to get 2nd maximum salary in an employee table ?
Answer Posted / malli
select max(sal) from emp where sal<(select max(sal) from emp);
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What is synonyms?
what are numeric data types? : Sql dba
How many types of cursors are available in pl/sql?
What are the various restrictions imposed on view in terms of dml?
Is not equal in sql?
What are the steps for performance tuning.
Can 2 queries be executed simultaneously in a distributed database system?
What is memory optimized table?
what are the 'mysql' command line arguments? : Sql dba
What is the difference between nvl function, ifnull function, and isnull function?
what are local and global variables and their differences? : Sql dba
What is record data type?
What is the difference between sum and count in sql?
discuss about myisam key cache. : Sql dba
Hi how to import oracle sequence in Informatica? Please write stored procedure code that will import oracle sequence in Informatica SP transformation as per below scenario Oracle table product list Pro_id, pro_name 101, LED Lights. 102, 20watt CFL Lights. 103, 30 watt CFL lights Now a new flat file with new product list needs to be added to oracle table product list with oracle sequence. flat file product Prono,pro_name, 1, 20 watt tube light 2, 30 watt tube light & target should be like 101, LED Lights. 102, 20watt CFL Lights. 103, 30 watt CFL lights. 104, 20 watt tube light 105, 30 watt tube light thks reg suvarna joshi suvarnaatsuvarna@rediffmail.com