1. Database Systems: Chapter 6: Relational Algebra Dr. Taysir Hassan Abdel Hamid Lecturer, IS Department Faculty of Computer and Information Assiut University Contact: [email_address] March 30, 2008
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13. Example Tables: Person (SSN, Name, Address, Hobby) Professor (Id, Name, Office, Phone) are not union compatible. However
14.
15.
16. Example This is a relation with 4 attributes: StudId, SCrsCode, ProfId, PCrsCode
17. Derived Operation: Join The expression : join-condition ´ (R S) where join-condition ´ is a conjunction of terms: A i oper B i in which A i is an attribute of R, B i is an attribute of S, and oper is one of =, <, >, , , is referred to as the (theta) join of R and S and denoted: R join-condition S Where join-condition and join-condition ´ are (roughly) the same …