31.07.2013 Views

Relational Model Introduction - E-Courses

Relational Model Introduction - E-Courses

Relational Model Introduction - E-Courses

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

S = (A, B), R = (A, B, C, D), X = (C, D)<br />

x = r s<br />

÷<br />

s<br />

x<br />

A B<br />

a b<br />

1 1<br />

a b<br />

2 2<br />

C D<br />

c 1 d 1<br />

c 3 d 3<br />

r<br />

A B C D<br />

a b c d<br />

1 1 1 1<br />

a b c d<br />

2 2 1 1<br />

a b c d<br />

1 1 2 2<br />

a b c d<br />

1 1 3 3<br />

a b c d<br />

2 2 3 3<br />

(c 2 , d 2 ) is not present in the result of division as it does not appear<br />

in combination with all the tuples of s in r<br />

Prof P Sreenivasa Kumar<br />

Department of CS&E, IITM<br />

36

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!