Answer Posted / chandra sekhar
SELECT * FROM EMP e
where 3=(select count(*) from emp
where e.sal<=sal)
Using this correlated subquery we can easily get any one
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
how can we transpose a table using sql (changing rows to column or vice-versa) ? : Sql dba
Does oracle use sql?
How to find 3rd highest salary of an employee from the employee table in sql?
what are the different type of normalization? : Sql dba
How exception is different from error?
What is the usage of sql functions?
How many types of literals are available in pl sql?
Which join condition can be specified using on clause?
what is sql profiler? : Sql dba
Is sqlite good enough for production?
What is sql character function?
Can we change the table name in sql?
Can one improve the performance of sql*loader? : aql loader
What are literals in sql server?
How do you declare a constant?