Object-Relational and Relational Database Design: OGL & SH
VerifiedAdded on  2020/07/23
|24
|2005
|143
Practical Assignment
AI Summary
This assignment presents the design and implementation of two database systems: Oil and Grease Limited (OGL) and Sales History (SH). Part 1 focuses on OGL, demonstrating both object-relational and relational database versions. It includes the creation of object types (INDUSTRIALUNIT, PRODUCT, EMPLOYEE, WORKORDER, LABOURUSAGE) and corresponding tables, along with SQL queries to retrieve data from these tables. Part 2 addresses the Sales History (SH) data warehouse, also showcasing object types and relational tables (TIMES, COSTS, SALES, CHANNELS, PRODUCTS, CUSTOMERS, COUNTRIES) designed to store sales-related data. The assignment highlights the creation of database schemas, including primary and foreign key constraints, as well as PL/SQL procedures to query the databases. The OGL section also mentions new features such as XML replication and support for large VARCHAR data types. This comprehensive approach allows for a comparison between object-oriented and relational database designs, emphasizing the importance of efficient data management and retrieval.
1 out of 24















