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

What happens when a node suffers a downfall?

1140


What is bteq utility in teradata?

985


What are the available primary index types in teradata.

1034


What is teradata? Also, list out some of the primary characteristics of teradata.

1062


Explain amp in teradata?

1091


What is a clique?

1103


Define views in teradata with syntax.

1085


Why do you get spool space errors? How do trouble-shoot them?

1061


What are the different softwares used with their functions in teradata?

1017


Differentiate primary key and partition key?

987


List the logical and conditional operators that are used with teradata along with their meanings?

1004


How is the teradata different from oracle?

1119


What are the various indexes in teradata? How to use them?

1019


How can bottlenecks be identified?

1024


What's the difference between timestamp (0) and timestamp (6)?

1201