consider a table which contain 4 columns,ename,eno,sal and
deptno, from this table i want to know ename who having
maximum salary in deptno 10 and 20.
Answer Posted / avinash
select ename from emp where sal in(select max(sal) from
emp) and deptno in(10,20)
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is a sql profiler?
Is vs as in pl sql?
Why do we use procedures in pl sql?
what is msql? : Sql dba
Do triggers have restrictions on the usage of large datatypes, such as long and long raw?
How to get list of all tables from a database?
Which join condition can be specified using on clause?
What does cursor do in sql?
What are the possible values for the boolean data field?
What is cost in sql execution plan?
What is a temp table?
Can a composite key be null?
Can I create table without primary key?
What is scope of pl sql developer in future?
What is application trigger?