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 / srilekha
select ename from table where sal=(select max(sal) from
table) and depetno in (10,20)
| Is This Answer Correct ? | 27 Yes | 20 No |
Post New Answer View All Answers
Why use truncate instead of delete?
what is the difference between $message and $$message? : Sql dba
What is sql and db2?
What is an inner join sql?
how do you know the version of your mysql server? : Sql dba
How do you know if a relationship is 2nf?
What is optimistic concurrency control? : Transact sql
What is oracle sql called?
Are subqueries faster than joins?
what are set operators in sql? : Sql dba
What is package in pl sql?
What is the process of debugging?
Why is normalization important?
Is null operator in sql?
What is relationship? How many types of relationship are there?