updated: 2022-01-23_12:32:31-05:00
Select
-
select tuples that satisfy a given predicate
-
where P is called the Selection Predicate
-
Allows comparisons using:
-
Combination operators:
-
Comparisons between two attributes
- EG: find all departments whose name is the same as their building name:
- dept_name = building (department)
- Quotations is literal, without them, it's getting the value stored in that attribute
- dept_name = building (department)
- EG: find all departments whose name is the same as their building name: