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 / kondeti srinivas

emp table having depnto and dept table contains deptno
then only we can join the two table and find out max sal
dept wise
query:
select e.deptno,d.dname,max(e.sal) from emp e,dept d
where d.deptno=e.deptno
group by e.deptno,d.dname

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Highlight the advantages of PPI(Partition Primary Index).

1048


Highlight a few of the important components of Teradata?

987


What are the various reporting tools in the market?

1013


Can you connect multiload from ab initio?

1167


What are the various etl tools in the market?

1038


What exactly do you know about catching in teradata?

1007


Define views in teradata with general syntax.

1004


How will you solve the problem that occurs during update?

1020


What are the things to be considered while creating secondary index?

1060


What are the functions involved in shared information architecture?

1045


What do you mean by teradata sql assistant?

1021


if collect stats but it show low confidence why?

1651


What is the use of stored procedures in teradata?

957


What is meant by a node?

1010


what are the day to day activities of teradata DBA ?

5777