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 dynamic query?
What is user defined functions?
What is the difference between alter trigger and drop trigger statements?
What is program debugging?
What is sql not null constraint?
what is meant by urlencode and urldocode? : Sql dba
What is difference between stored function and application function?
Is sql database free?
What is left join in postgresql?
What are all the common sql functions?
What can sql server reporting services do?
Explain the the delete statements in sql?
What is record variable?
Differences between Oracle 9i and 10g (Probably in terms of SQL and PL/SQL)?
Do foreign keys improve performance?