1 Pertemuan 11 The Manipulative part of the object data model (Lanjutan bagian 2) Matakuliah: M0174/OBJECT ORIENTED DATABASE Tahun: 2005 Versi: 1/0
2 Learning Outcomes Pada akhir pertemuan ini, diharapkan mahasiswa akan mampu : Mahasiswa dapat Menjelaskan proses manipulasi object data model dan operator-operator yang digunakan dalam manipulasi tersebut (C2)
3 Outline Materi Union Intersect Difference
4 Union –Is a binary operator (it takes two objects as operands). –Union of two set object is a set object which contains all off the objects contained in one or both of the two operand set objects.
5 Union Example Retail_Customer Union [Customer] Trade_Customer
6 Union
7 Intersect –Intersect like union operators upon two set objects. –The intersection of two set objects contains object which occur in both of them. Example Retail_Customer Intersect [Customer] Trade_Customer
8 Intersect
9 Difference Difference (minus) –This operator like intersect and union, operators upon two set objects. –Difference define a set object which contains objects which occur in the first of the operand set objects, but not in the second Example Retail_Customer Minus [Customer] Trade_Customer
10 Difference R T R Minus T
11 SUMMARY Examples of the pick and mix operator are –Union –Intersect –Difference