Write a query to find second highest salary of an employee.
Answer Posted / jeff
select max(salary)
from Emp
where rownum < 2;
Is This Answer Correct ? | 3 Yes | 19 No |
Post New Answer View All Answers
What is sql and explain its components?
what is the difference between truncate and delete statement? : Transact sql
Is natural join same as inner join?
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
Can a select statement fire a trigger?
what are string data types? : Sql dba
What do you mean by field in sql?
How do you create a unique index?
what is blob? : Sql dba
Is trigger a stored procedure?
What is a procedure in pl sql?
How do you write an inner join query?
what are the join types in tsql? : Transact sql
ERROR:Insert or update on table"accnt" violates foreign key constraints "acct_to_curr_symbol" DETAILS:KEY(accnt_curr_id)(-2)is not present in the table "curr_symbol" ......solve The Problem..
what are rollup and cube in t-sql? : Transact sql