Chapter08 RA Only Database
Chapter08 RA Only Database
Navathe
CHAPTER 8
DNO = 4 (EMPLOYEE)
Select the employee tuples whose salary is greater than $30,000:
SALARY > 30,000 (EMPLOYEE)
operations
Necessary in some cases (see JOIN operation
later)
DEPT_MGR DEPARTMENT MGRSSN=SSN EMPLOYEE
MGRSSN=SSN is the join condition
Combines each department record with the employee who
manages the department
The join condition can also be specified as
DEPARTMENT.MGRSSN= EMPLOYEE.SSN
renaming, division, ….
Leaf nodes represent base relations