CSC 455

Fall 2009

Lab 10

Consider the following schema:

 

fig06_15

 

Give the relations that would result from the following operations:

X is Cartesian product, |X| is join

a)  σ C<6(T2)

b)  π Q (T1)

c)  π Q (T1) - π B (T2)

d)  σ P = 10 (T1 U T2)

e)  T1 X T2

f)    π P(T1 |X|T1.Q=T2.B T2)

g)  π C P = 10  (T1 |X|T1.P=T2.A T2)