sel a.t1,b.t1 from emp a left outer join dept b ON
a.id=b.id where b.deptno=10;
sel a.t1,b.t1 from emp a left outer join dept b ON
a.id=b.id and b.deptno=10;
what is the difference on the above 2 queries?

Answer Posted / aarsh dave

The first query will only show the records that are matching
on id and deptno = 10.

The second query will show all the records from table A with
B.t1 as NULL wherever deptno <> 10.

Is This Answer Correct ?    5 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Highlight a few of the important components of Teradata?

571


What is the purpose of indexes?

577


What is called partitioned primary index (ppi)?

548


What do you mean by tpt in teradata?

575


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

1679






What are the design features involved in teradata?

535


What are the updated features of teradata?

567


What tools would you use for that?

557


What do you mean by teradata intellicloud?

584


Briefly explain each of the following terms related to relational database management system (rdbms) – database, tables, columns, row, primary key and foreign key.

570


What is bteq utility in teradata?

559


Explain teradata architecture in detail with a diagram.

593


How is MLOAD Client System restarted after execution?

583


What is teradata?

631


What is bteq script in teradata?

616