how to find the second highest salary from emp table?
Answer Posted / raju tt
select max(salary) from employees where salary not in
(select max(salary) from employees)
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Which join condition can be specified using on clause?
What is trigger explain with example?
Is sql scripting language?
What is sql profiling in oracle?
how to fetch common records from two tables? : Sql dba
Is sql a programming?
Can we have two clustered index on a table?
What does sql stand for?
what is difference between delete and truncate commands? : Sql dba
a table has 2 classifications 1)liabilities 2)earnings this liabitity has 2 elements with 2 input values and the earnings have 2 elements with 2 input values i wrote a query so that my input is liability savings amount1 amount2 xxxx null xxxxxx 0 xxx1 null xxxxx1 0 null yyyy 0 yyyy null yyy1 0 yyy1 my problem is --when i developed a report(d2k) with this data my o/p is liabilities,amount1,savings,amount2 xxxx xxxxxx xxx1 xxxxx1 yyyy yyyy yyy1 yyy1 how could i move this savings,savings values 2 palces up. can any body provide me witha better solution
Is and as keyword in pl sql?
How many rows can sqlite handle?
Can we write ddl statements in functions?
Can we insert in sql function?
Is inner join same as self join?