The SELECT operation, , is used to select a subset of tuples from a relation based on a selection condition. The condition acts as a filter and only keeps those tuples that satisfy the qualifying condition.

Where denotes the SELECT operator. Where denotes the relation.

Example:

  • Select the EMPLOYEE tuples whose department number if 4:
  • Select the EMPLOYEE tuples whose salary is greater than £30,000:

Properties:

  • SELECT produces a relation that has the same schema as .
  • SELECT is commutative: .
  • May be applied in any order.
  • We can replace a cascade with a single conjunction.