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...

we have two tables emp,dept.emp has eno,ename,sal and dept
has deptno,dname.how to find maxsal of each dept wise.which
join used for joining.

Answer Posted / ram reddy

Prerequisite
-------------
Both emp and dept tables should have deptno column

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

Is This Answer Correct ?    14 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

If RDBMS is halted what will you do ?

2222


How is the teradata different from oracle?

1167


What are the 5 phases in a multiload utility?

1090


What is spool space?

1223


What is difference between user and database in teradata?

1117


How will you solve the problem that occurs during update?

1107


How to run a query in teradata?

1148


What do high confidence, low confidence and no confidence mean in explain plan?

1100


What are the joins in teradata?

1074


What are the different design perspectives used in teradata?

1036


What do you mean by fastexport in teradata?

1050


What is meant by a Least Cost Plan?

1109


What is called partitioned primary index (ppi)?

1056


What do you mean by parsing?

1164


Is it necessary to add? Quit statement after a bteq query when I am calling it in a unix environment?

1321