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 / john
select dept_id,ename max(sal) from employee where dept_id
in ('1','2') group by dept_id;
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What does where 1/2 mean in sql?
Can we rollback truncate?
How many sql commands are there?
what are the advantages of sql ? : Sql dba
What is a memo field?
define sql insert statement ? : Sql dba
how to shutdown mysql server? : Sql dba
Why do we need sharding?
How do I view a procedure in sql?
how to concatenate two character strings? : Sql dba
what are the type of locks ? : Sql dba
What is sqlca in powerbuilder?
Which is better join or subquery?
Can a composite key be null?
Explain correlated query work?