Find out the 3rd highest salary?
Answer Posted / kaushal kassi
select distinct a.sal
from employee a
where 3=(select count(distinct b.sal)
from employee b
where a.sal<=b.sal)
| Is This Answer Correct ? | 24 Yes | 12 No |
Post New Answer View All Answers
What is primary key secondary key alternate key candidate key?
How do I count rows in sql query?
Can we commit in trigger?
i have 2 table table one 4 columns respective values a1 7,a2 6,a3 8 ,a4 12 & table two 4 colums respective values a1 7,a2 6,a3 8,a4 15.if table one & table two 3 colums same then 4th column values 1)Qes diff >5 then print 5 * diff value 2)Que diff <5 print 5
How insert into statements in sql?
Explain the advantages and disadvantages of stored procedure?
i have some prob lem to tell me about my self in interview first round ...
What is trigger and types?
What is type and rowtype in pl sql?
Explain clause in sql?
What is an emotional trigger?
What is sql integrity?
When to use inner join and left join?
How do you optimize a query?
What is pl sql quora?