Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

two tables are there
emp(eno,ename,sal,deptno),dept(deptno,dname).how form the
query in deptno,ename,max(sal)

Answer Posted / no_name

select deptno,dname,max(sal) dept_max
from
(select empno, e.deptno, d.dname, e.sal
from emp e,
dept d
where e.deptno = d.deptno)
group by deptno,dname;

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is an oracle cursor variable?

1009


What is key preserved table?

961


What is a tns file?

942


What privilege is needed for a user to query tables in another schema?

922


Explain the use of ignore option in imp command.

977


What are the differences between date and timestamp in oracle?

974


What is where clause in oracle?

982


How many types of tables supported by oracle?

1020


does the query needs a hint to access a materialized view?

1817


What are ddl statements in oracle?

1018


How do you increase the OS limitation for open files (LINUX and/or Solaris)?

1879


Why oracle is used?

998


An automatic job running via DBMS_JOB has failedKnowing only that its failed, how do you approach troubleshooting this issue?

1997


What is a private synonym?

1531


Why do I get unexpected characters from 8-bit character sets in weblogic jdriver for oracle?

1047