Matakuliah Tahun Versi : M0174/OBJECT ORIENTED DATABASE : 2005 : 1/0 Pertemuan 11 The Manipulative part of the object data model (Lanjutan bagian 2) 1 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) 2 Outline Materi • Union • Intersect • Difference 3 Union • 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. 4 Union • Example Retail_Customer Union [Customer] Trade_Customer 5 Union 1 2 3 4 5 6 1 2 3 4 5 6 6 Intersect • 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 7 Intersect 1 2 3 2 3 4 2 3 8 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 9 Difference 1 2 3 4 5 1 5 6 R T 2 3 4 R Minus T 10 SUMMARY • Examples of the pick and mix operator are – Union – Intersect – Difference 11
© Copyright 2026 Paperzz