Show that step 2 of the method used in Section 16.3.1 to perform a join using a semi- join does in fact generate the semi-join. For simplicity, assume that the join we are attempting is a natural join. That is, prove that ?attributes(T1) (T1 T2) = ?attributes(T1)(T1 ?attributes(join-condition)(T2))

What will be an ideal response?


This a special case of the rule for pushing projections through joins in Section 11.2.
For every tuple t ? T1 T2 there is a tuple t

? T1 ?attributes(join-condition)(T2)
that agrees with t on all attributes of T1 and vice versa. Thus the above two expressions
are equivalent.

Computer Science & Information Technology

You might also like to view...

________ software prevents your computer from adware infections

Fill in the blank(s) with correct word

Computer Science & Information Technology

The word shown in bold is spelled correctly in the following sentence.Colcannon is made with mashed potatos and cabbage.?

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

Match the numbers in the figure to the right with their names

a. text area field _____
b. fieldset _____
c. radio buttons _____
d. form buttons _____
e. check boxes _____
f. selection or option lists _____
g. text field or input box _____

Computer Science & Information Technology

Although a prototype is a useful tool to help evaluate the design of a proposed technology, prototypes often operate slowly, especially when large amounts of data must be stored or processed.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology