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

Different phases of multiload?

659


how can we analyze the locks ?

1779


Can we collect statistics on table level?

695


List out some of the primary characteristics of teradata.

642


What do you mean by teradata intellicloud?

679






What is difference between user and database in teradata?

722


What do you mean by caching in teradata?

702


What do you mean by teradata intelliflex?

711


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

683


What are the various reporting tools in the market?

700


What is oltp?

649


If a Node is busy what are the steps you can take to avoid ?

1971


How can you track login parameters of users in teradata?

720


Define views in teradata with syntax.

723


Hi Friends, Please send me Teradata Materials for certifications Thanks in advance !!

1785