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 / sanjeev
SELECT ENAME FROM TABLE NAME WHERE SAL>(SELECT MAX(SAL)
FROM TABLE NAME GROUP BY DEPTNO
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is difference between inner join and self join?
What is cold data?
Explain locks? : Transact sql
What are %type and %rowtype for?
What is a design view?
Why truncate is used in sql?
what is isam? : Sql dba
How can you create an empty table from an existing table?
How do you optimize a stored procedure in sql?
What is the difference between the conventional and direct path loader? : aql loader
what are the advantages of sql ? : Sql dba
What normalization means?
What are transaction and its controls?
What is sql integrity?
what are the advantages of using stored procedures? : Sql dba