Professional Documents
Culture Documents
4. Find title of movies that are no longer than “Bride and Prejudice”.
5. Find name and address of all male movie stars who are also movie executives with
a net worth under $10,000,000.
No Symbol Description
1 R1 U R2 Set union
2 R1 - R2 Set except
3 R1 ∩ R2 Set intersection
4 πL (R) Projection
5 σC(R2) Selection
6 R1 x R2 Product
7 R1 ⋈ R2 Natural join
8 R ⋈θS Join
9 ρR1(A1,…,An)(R) Rename
10 Φ Empty set
11 Gmaker, count(model) ->
maker Aggregate functions
numberOfPcs(R) as SUM, COUNT,
MIN, MAX, AVG
(group by ‘maker’)