how to find the second highest salary from emp table?
Answer Posted / harish
select max(sal) from
emp where sal <(select max(sal) from emp)
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is trigger with example?
How do I truncate a sql log file?
what is a table in a database ? : Sql dba
what are date and time data types? : Sql dba
Is primary key always clustered index?
What is a call statement? Explain with an example.
What is foreign key sql?
What is flag in sql?
How do you rank data in sql?
What is a sql schema used for?
How do I delete a trigger?
Does mysql_real_escape_string prevent sql injection?
What is the difference between distinct and unique in sql?
What is the sql case statement?
Can we use rowid as primary key?