Professional Documents
Culture Documents
EXPLAIN
SELECT Hours, EmpNo, Description
FROM Charges, Project
WHERE Charges.Proj_Id = ENG-0003
AND Project.Proj_Id = ENG-0003
AND Charges.WkEnd >
Project.DueDate ;
Merge Join
EXPLAIN
SELECT Name, DeptName, Loc
FROM Employee, Department
WHERE Employee.DeptNo =
Department.DeptNo ;
Hash Join
EXPLAIN
SELECT
Employee.EmpNum,Department.D
eptName, Employee.Salary
FROM Employee, Department
WHERE Employee.Location =
Department.Location ;
Nested Join
EXPLAIN
SELECT DeptName, Name, YrsExp
FROM Employee, Department
WHERE Employee.EmpNo =
Department.MgrNo
AND Department.DeptNo = 100;
last use
This term identifies the last
reference to a spool file that
contains intermediate data
that produces a statements
final
result. The file is released
following this step
lock
Teradata places an ACCESS,
READ,WRITE, or EXCLUSIVE lock on
the database object that is to be
accessed by a request.
no residual conditions
Rows are selected in their entirety;
there are no specific search
conditions. All applicable
conditions have been
applied to the rows.
of n partitions
of a single partition