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 happens when a trigger is associated to a view?
What are instead of triggers?
Does view contain data?
What is the difference between join and natural join?
What is data modelling in sql?
How do I run sql?
What is assignment operator in pl sql?
What is the unique index?
how many ways we can we find the current date using mysql? : Sql dba
how would you write a query to select all teams that won either 2, 4, 6 or 8 games? : Sql dba
How can we make an if statement within a select statement?
What is the difference between rollback and rollback to statements?
Is it possible to remove child records without removing master table records...the two having pk,fk relationship?
What is partition in sql query?
What is a temporal data type?