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 / nancy

Select ename from table where dept_no in ('10','20') group
by dpt_no

Is This Answer Correct ?    4 Yes 27 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to run pl/sql statements in sql*plus?

594


What are some emotional triggers?

572


In a distributed database system, can we execute two queries simultaneously?

571


How do I view a sql database?

561


How many indexes can be created on a table in sql?

498






Explain the difference between cursor declared in procedures and cursors declared in the package specification?

579


Can we use two order by clause in query?

544


What are all the common sql functions?

567


what is the difference between $message and $$message? : Sql dba

550


What is a function in oracle pl sql?

545


Can there be more than one function with a similar name in a pl/sql block?

549


what is a unique key ? : Sql dba

547


What is procedure explain with example?

542


How are functions and procedures called in PL/SQL?

593


how is myisam table stored? : Sql dba

607