Write a query to get 2nd maximum salary in an employee table ?
Answer Posted / abhay
Select Max(Sal)
From Emp E
Where E.Sal < (Select Max(Sal) From Emp)
Is This Answer Correct ? | 9 Yes | 1 No |
Post New Answer View All Answers
Should I use mbr or gpt?
what is an index? : Sql dba
how to get a list of all tables in a database? : Sql dba
What are analytical functions in sql?
what are myisam tables? : Sql dba
Why do we use partitions in sql?
Show the cursor attributes of pl/sql.
What is foreign key in sql with example?
What is normalisation and its types?
Is sql microsoft?
What is Difference Between Unique and Primary Key Constraints?
How to return an array from java to pl/sql?
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
How many types of cursors supported in pl/sql?
what is a record in a database ? : Sql dba