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 a oracle database?

1034


How to create a new user account in oracle?

991


Why does for update in oracle 8 cause an ora-01002 error?

979


What is the use of oracle?

1018


When do I need to use a semicolon vs a slash in oracle sql?

1072


Explain an exception?

969


What is columnar storage what is the advantage?

1032


How to insert multiple rows with one insert statement in oracle?

1055


How to convert character types to numeric types?

1096


What are the various types of snapshots ?

1009


How to create a new table in oracle?

1132


15. Display the item_cost and then truncate it to the nearest hundred, ten, unit, tenth and hundredth.

2280


In XIR2 if we lost the administration password .How can we regain the password?thanks in advance.

1914


What are named parameters?

1071


Does oracle database need java?

980