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

List out teradata data types?

1015


What is upsert statement in teradata?

1139


what are the day to day activities of teradata DBA ?

5826


Describe primary index in teradata. And what are the available primary index types?

1004


What does Amp contain and what are all the operations that it performs?

1007


What is a dimension table?

1066


Explain vproc in teradata?

1007


Explain fastload in teradata?

1111


Which is faster fastload or multiload?

1119


How to explain project Architecture and flow in teradata interviews?Can please anyone help on this? Am new to teradata.

4375


What are the commands to make a new table, change a table and remove a table in teradata?

1132


How to view every column and the columns contained in indexes in teradata?

1056


How teradata makes sure that there are no duplicate rows being inserted when its a set table?

989


what is sysdba and sysdbc ? which has high priority ?

3832


What is the purpose of using case expression in teradata?

1017