how to calcuate the second highest salary of he employee
Answer Posted / neetika vardhan
SELECT MAX(sal)
FROM EMP WHERE sal NOT IN (SELECT MAX(sal) FROM emp)
| Is This Answer Correct ? | 42 Yes | 3 No |
Post New Answer View All Answers
What is the maximum number of columns in sql table?
how can you see all indexes defined for a table? : Sql dba
What is plpgsql language?
what is the difference between group by and order by in sql? : Sql dba
Do triggers have restrictions on the usage of large datatypes, such as long and long raw?
How do I pipe the output of one isql to another?
Differentiate between syntax and runtime errors.
What is a system versioned table?
what are different types of keys in sql?
How do you update f as m and m as f from the below table testtable?
how to include character strings in sql statements? : Sql dba
what is bcp? When is it used?
differentiate between float and double. : Sql dba
Can sql developer connect to db2?
What is sqlca in db2?