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
how can we destroy the session, how can we unset the variable of a session? : Sql dba
What is vector point function?
How do I view stored procedures?
What are the different types of tables in sql?
what are properties of a transaction? : Sql dba
What are the most important ddl statements in sql?
How many sectors are in a partition?
What are the types of index in sql?
how to analyze tables with 'mysqlcheck'? : Sql dba
Why use subqueries instead of joins?
What do you mean by “trigger” in sql?
Differentiate between % rowtype and type record.
How many clustered indexes can you have?
What happens when a trigger is associated to a view?
What is a parameter query?