find out the third highest salary?
Answers were Sorted based on User's Feedback
Answer / ashutosh pandey
select sal from emp
where sal=(select min(sal) from emp
where sal>(select min(sal) from emp
where sal>(select min(sal) from emp);
| Is This Answer Correct ? | 69 Yes | 204 No |
What is bind variable in oracle 11g?
5. Display full details from the ORDER_LINE table where the item number is (first condition) between 1 and 200 (no > or < operators) OR the item number is greater than 1000 AND (second condition) the item cost is not in the list 1000, 2000, 3000 OR the order number is not equal to 1000.
What is Normalization ?
55 Answers ACS, Genpact, Graphix Solution, IBM, Keane India Ltd, TCS, Vault,
Difference between oracle's plus (+) notation and ansi join notation?
How to enter a new row into a table interactively?
How to fetch the row which has the max value for a column?
How to compare dates in oracle sql?
what is pragma?
What is key preserved table?
WHAT IS THE DIFFERENCE BETWEEN PRIMARY KEY(PK) CONSTRAINT AND UNIQUE KEY(UK) + NOT NULL(NN) CONSTRAINT ASSIGN TO A COLUMN ? INSTEAD OF ASSIGNING PK ,WE CAN ASSIGN UK + NN TO A COLUMN. WHAT ARE THE MARRITS AND DEMARITS BETWEEN THE ABOVE TWO?THE ABOVE TWO ARE SAME,THEY DON'T ALLOW DUPLICATE AS WELL AS NULL VALUES.
How to change program global area (pga) in oracle?
how to find find & delete duplicate rows from two different tables?