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 / subbareddy kake

with out using any Join conditions

Select deptno, max(sal)
from emp group by deptno

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the available primary index types?

720


Explain and compare pros and cons of start schemas?

548


How do you do backup and recovery in teradata?

551


Explain how spool space is used.

621


How will you solve the problem that occurs during update?

589






What are the steps to create a data model?

602


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

548


What is meant by a dispatcher?

572


What is node? How many nodes and amps used in your previous project?

675


What is bteq utility in teradata?

575


Discuss the advantages of using partitioned primary index in a query?

537


If I wanted to run a TPump job only once per day - basically working on a file that is produced once per day - how would you set up the parameters for that sort of job ?

1900


How to Extract data from multiple legacy systems?

576


What is meant by a Parsing Engine?

709


How do you see a ddl for an existing table?

575