rel algebra set theory girija
DESCRIPTION
set theory, relational algebra, union, intersection, difference, sql, database, www.youtube.com- dr.girija narasimhan this powerpoint video is available.TRANSCRIPT
![Page 1: Rel algebra set theory girija](https://reader034.vdocuments.site/reader034/viewer/2022052600/557ccc43d8b42a7e5b8b4df0/html5/thumbnails/1.jpg)
Relational Algebra Operations
Set theory Unary relational operation
Binary relational operation
![Page 2: Rel algebra set theory girija](https://reader034.vdocuments.site/reader034/viewer/2022052600/557ccc43d8b42a7e5b8b4df0/html5/thumbnails/2.jpg)
Symbolic Notation use symbolic notation to represent the operators.
SELECT ->σ (sigma)
PROJECT -> π(pi)
PRODUCT -> ×(times)
JOIN -> |×| (bow-tie)
UNION -> ∪ (cup)
INTERSECTION -> ∩(cap)
DIFFERENCE -> - (minus)
RENAME ->ρ (rho)
(AND) -> ^
(OR) -> v
Not ->
![Page 3: Rel algebra set theory girija](https://reader034.vdocuments.site/reader034/viewer/2022052600/557ccc43d8b42a7e5b8b4df0/html5/thumbnails/3.jpg)
![Page 4: Rel algebra set theory girija](https://reader034.vdocuments.site/reader034/viewer/2022052600/557ccc43d8b42a7e5b8b4df0/html5/thumbnails/4.jpg)
![Page 5: Rel algebra set theory girija](https://reader034.vdocuments.site/reader034/viewer/2022052600/557ccc43d8b42a7e5b8b4df0/html5/thumbnails/5.jpg)
![Page 6: Rel algebra set theory girija](https://reader034.vdocuments.site/reader034/viewer/2022052600/557ccc43d8b42a7e5b8b4df0/html5/thumbnails/6.jpg)
S2-S1
![Page 7: Rel algebra set theory girija](https://reader034.vdocuments.site/reader034/viewer/2022052600/557ccc43d8b42a7e5b8b4df0/html5/thumbnails/7.jpg)
![Page 8: Rel algebra set theory girija](https://reader034.vdocuments.site/reader034/viewer/2022052600/557ccc43d8b42a7e5b8b4df0/html5/thumbnails/8.jpg)
R ∪ S R ∩ S R – S S - R
EXERCISE 1
![Page 9: Rel algebra set theory girija](https://reader034.vdocuments.site/reader034/viewer/2022052600/557ccc43d8b42a7e5b8b4df0/html5/thumbnails/9.jpg)
EXERCISE 1 -RESULT
![Page 10: Rel algebra set theory girija](https://reader034.vdocuments.site/reader034/viewer/2022052600/557ccc43d8b42a7e5b8b4df0/html5/thumbnails/10.jpg)
EXERCISE 1 -RESULT
![Page 11: Rel algebra set theory girija](https://reader034.vdocuments.site/reader034/viewer/2022052600/557ccc43d8b42a7e5b8b4df0/html5/thumbnails/11.jpg)
EXERCISE 1 -RESULT
![Page 12: Rel algebra set theory girija](https://reader034.vdocuments.site/reader034/viewer/2022052600/557ccc43d8b42a7e5b8b4df0/html5/thumbnails/12.jpg)
EXERCISE 1 -RESULT
![Page 13: Rel algebra set theory girija](https://reader034.vdocuments.site/reader034/viewer/2022052600/557ccc43d8b42a7e5b8b4df0/html5/thumbnails/13.jpg)
Exercise 2
R ∪ S
![Page 14: Rel algebra set theory girija](https://reader034.vdocuments.site/reader034/viewer/2022052600/557ccc43d8b42a7e5b8b4df0/html5/thumbnails/14.jpg)
Exercise 2 - PRODUCT
![Page 15: Rel algebra set theory girija](https://reader034.vdocuments.site/reader034/viewer/2022052600/557ccc43d8b42a7e5b8b4df0/html5/thumbnails/15.jpg)
Exercise 3
![Page 16: Rel algebra set theory girija](https://reader034.vdocuments.site/reader034/viewer/2022052600/557ccc43d8b42a7e5b8b4df0/html5/thumbnails/16.jpg)
Exercise 3 - SOLUTION
![Page 17: Rel algebra set theory girija](https://reader034.vdocuments.site/reader034/viewer/2022052600/557ccc43d8b42a7e5b8b4df0/html5/thumbnails/17.jpg)
Exercise 4
Graduates – managers
Managers - graduates
Graduates U managers
Graduates ∩ managers
![Page 18: Rel algebra set theory girija](https://reader034.vdocuments.site/reader034/viewer/2022052600/557ccc43d8b42a7e5b8b4df0/html5/thumbnails/18.jpg)
Exercise 4 - Solution
![Page 19: Rel algebra set theory girija](https://reader034.vdocuments.site/reader034/viewer/2022052600/557ccc43d8b42a7e5b8b4df0/html5/thumbnails/19.jpg)
Exercise 4 - Solution
![Page 20: Rel algebra set theory girija](https://reader034.vdocuments.site/reader034/viewer/2022052600/557ccc43d8b42a7e5b8b4df0/html5/thumbnails/20.jpg)
Exercise 4 - Solution
![Page 21: Rel algebra set theory girija](https://reader034.vdocuments.site/reader034/viewer/2022052600/557ccc43d8b42a7e5b8b4df0/html5/thumbnails/21.jpg)
Exercise 5
![Page 22: Rel algebra set theory girija](https://reader034.vdocuments.site/reader034/viewer/2022052600/557ccc43d8b42a7e5b8b4df0/html5/thumbnails/22.jpg)
Exercise 5 solution
![Page 23: Rel algebra set theory girija](https://reader034.vdocuments.site/reader034/viewer/2022052600/557ccc43d8b42a7e5b8b4df0/html5/thumbnails/23.jpg)
Exercise 6
![Page 24: Rel algebra set theory girija](https://reader034.vdocuments.site/reader034/viewer/2022052600/557ccc43d8b42a7e5b8b4df0/html5/thumbnails/24.jpg)
Exercise 7
![Page 25: Rel algebra set theory girija](https://reader034.vdocuments.site/reader034/viewer/2022052600/557ccc43d8b42a7e5b8b4df0/html5/thumbnails/25.jpg)
Exercise 7 - solution