What all are the joins in Teradata?...
Inner Join: It will return the matches records from multiple tables and we can able to use maximum 128 tables and views for per query block.
Cross Join:The CROSS JOIN is used to generate a paired combination of each row of the first table with each row of the second table. This join type is also known as cartesian join. (Referred : SqlShack)...Thanks SqlShack.
Outer Join:
1. Left Outer Join: Return all the records from Left table and will return only matches records from right table.
2. Right Outer Join: Return all the records from right table and will return only matches records from left table.
3. Full Outer Join: it will combine left and right tables and will return matches and non matches records.
Self join:
A single table considered as a two tables by using correlation names to rederive the records.
Comments
Post a Comment