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 is TPD?

1426


Can you fastexport a field, which is primary key by putting equality on that key?

1232


What are the available join types in teradata?

1116


What is the primary index in teradata?

1286


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

1041


What are differences between teradata and ansi session modes in teradata?

1222


Explain vproc in teradata?

1049


What are the functions of a Parser?

1191


How many types of joins are there in teradata?

1024


How to load specific no.of records using bteq, or fastload,or multiload

1816


What are the 5 phases in a multiload utility?

1090


What are the different functions included in the server software?

1085


What are the different table types supported by teradata?

1021


if collect stats but it show low confidence why?

1751


How is MLOAD Client System restarted after execution?

1206