Professional Documents
Culture Documents
Lab1 RA Home
Lab1 RA Home
π dept_no, dept_name(departments)
π first_name, last_name(employees)
π dept_name(departments)
departments))
π salary(σ (gender = female) and (dept_name = WEO)(salaries ⋈ employees ⋈
departments))
π first_name, last_name(σ salary > $100000(employees ⋈ salaries))
II. How to express constraints via Relation Algebra
Give a schema:
All model of product (PC or Laptop or Printer) in PC, Laptop and Printer relation
must appear in Product relation.
π