G Barnaby Electronics Ltd case Study - Comparison of Entity-Relationship and Normalisation Database Designs



Similar documents
Introduction to Computing. Lectured by: Dr. Pham Tran Vu

A Tutorial on Quality Assurance of Data Models 1. QA of Data Models. Barry Williams. tutorial_qa_of_models.doc Page 1 of 17 31/12/ :18:36

Concepts of Database Management Eighth Edition. Chapter 1 Introduction to Database Management

Release: 1. ICADBS502A Design a database

SCHEMAS AND STATE OF THE DATABASE

NIGERIA EXTRACTIVE INDUSTRIES TRANSPARENCY INITIATIVE

Document review management. Raising Sales Invoices user guide

Notes. Information Systems. Higher Still. Higher. HSN31010 Database Systems First Normal Form. Contents

Appendix 5B Mining exploration entity and oil and gas exploration entity quarterly report. Appendix 5B. Mining exploration entity quarterly report

TIM 50 - Business Information Systems

Higher National Unit specification: general information. Relational Database Management Systems

Concepts of Database Management Seventh Edition. Chapter 6 Database Design 2: Design Method

Enhanced NET Securities Trading Platform User Hints

Private Developer Ground Lease. Example (Denver) C-1

Data Modelling and E-R Diagrams

Explain the role of the database administrator.

TRANSFERS OF FINANCIAL PRODUCTS

A Short Tutorial on Using Visio 2010 for Entity-Relationship Diagrams

BREEAM Communities 2012 Bespoke International Process Guidance Note GN07 August 2014

Appendix 5B. Mining exploration entity and oil and gas exploration entity quarterly report

In This Lecture. SQL Data Definition SQL SQL. Notes. Non-Procedural Programming. Database Systems Lecture 5 Natasha Alechina

Database Design Methodology

Core Syllabus. Version 2.6 B BUILD KNOWLEDGE AREA: DEVELOPMENT AND IMPLEMENTATION OF INFORMATION SYSTEMS. June 2006

Database Design Overview. Conceptual Design ER Model. Entities and Entity Sets. Entity Set Representation. Keys

Foundations of Business Intelligence: Databases and Information Management

COMHAIRLE NÁISIÚNTA NA NATIONAL COUNCIL FOR VOCATIONAL AWARDS PILOT. Consultative Draft Module Descriptor. Relational Database

Databases What the Specification Says

G3 Group Limited. Financial Products Trading Policy and Guidelines. Date adopted: 1 April 2015 Version: 1. 1 P a g e

Database Design Process. Databases - Entity-Relationship Modelling. Requirements Analysis. Database Design

Designing Databases. Introduction

Appendix 5B Mining exploration entity and oil and gas exploration entity quarterly report. Appendix 5B. Mining exploration entity quarterly report

Relational Database Concepts

Published Call for Quotations QMFA 080/2015

Database Design Process

Designing a Task Management System for a Banking System by Combining Relational Model with Use Case Diagram

By the end of the placement in July 2002, a beta version was being prepared for testing sites.

Fourth Railway Package proposed by the European Commission

Database Design Process

Database Concepts II. Top down V Bottom up database design. database design (Cont) 3/22/2010. Chapter 4

Business Database Systems

Appendix 5B. Mining exploration entity quarterly report. Quarter ended ( current quarter ) DECEMBER 2015

BLACKROCK GLOBAL FUNDS

Financial Institutions Directors and Officers Liability Insurance Proposal Form

Unofficial English translation ACQUISITION AND TRANSFER OF OWN SHARES. 1 Purpose and Scope of Application of the Guidelines

Benefits of Normalisation in a Data Base - Part 1

Database Management Systems

CONDENSED INTERIM CONSOLIDATED FINANCIAL STATEMENTS FOR THE THREE AND NINE MONTH PERIODS ENDED SEPTEMBER 30, 2013 AND 2012.

The structure of accounting systems: how to store accounts Lincoln Stoller, Ph.D.

ABN AMRO Order Execution Policy

CHARGING OF FEES IN THE CARGO PORT

WPG Resources Ltd. 15 February 2016

Professional indemnity insurance BIID members proposal form

Accounts Payable. Construction Document

Fund Restructure Request

ASX 24 OPERATING RULES

Shenzhen Tempus Global Travel Holdings Ltd (300178) - Company Capsule

DIRECTOR S & OFFICER S LIABILITY INSURANCE PROPOSAL FORM SHIELD

Chapter 5. Rules and Policies NATIONAL INSTRUMENT CERTIFICATION OF DISCLOSURE IN ISSUERS ANNUAL AND INTERIM FILINGS

ACCOUNTS PAYABLE CONSTRUCTION. BizAgi Process Modeler

Solicitors Indemnity Insurance Rules 2008

Change of Details Form

Lapse of Unlisted Options

Results in accordance with Australian Accounting Standards $ 000. Revenue from operations up 3.4% to 1,562,534

Appendix 5B. Mining exploration entity quarterly report. Quarter ended ( current quarter ) March 2014

ASX ANNOUNCEMENT FULLY UNDERWRITTEN RIGHTS ISSUE AND COMPANY UPDATE

S. SHLOMO INSURANCE COMPANY LTD FINANCIAL STATEMENTS AS AT DECEMBER 31, 2011

LIANZA Code of Practice - Part Four

1. Dimensional Data Design - Data Mart Life Cycle

CONFLICTS OF INTEREST MANAGEMENT POLICY

Understanding variations a contractor's perspective Jonathan Brooks, Tim Tapper, Andrew Ash & Stuart McGee. 21 March 2011 & 23 March 2011

Appendix 5B Mining exploration entity and oil and gas exploration entity quarterly report. Appendix 5B

Customer connection enquiry form (For the connection of loads and generators)

PROJECT MANAGEMENT. Anna Ilmer ( ) Manuel Leupold ( ) Planning: Time and cost 1

Hainan Airlines Co. Ltd. (600221) : Company Profile and SWOT Analysis

GLOBAL CFD LIMITED CONTRACTS FOR DIFFERENCE TERMS OF BUSINESS

DIRECTIVE OF STRATE PROPRIETARY LIMITED. Strate Special Gazette No: S DIRECTIVE SC.5. Proxy Voting Procedure Domestic Companies Equities

Appendix 5B. Quarter ended ( current quarter )

Overview. Physical Database Design. Modern Database Management McFadden/Hoffer Chapter 7. Database Management Systems Ramakrishnan Chapter 16

Rules Equity Securities RULES FOR THE AUTHORISATION OF INTERNATIONAL EQUITY SECURITIES TO TRADING ON SIX SWISS EXCHANGE

Transcription:

G Barnaby Electronics Ltd case Study - Comparison of Entity-Relationship and Normalisation Database Designs G.1 Compare the two Database Designs created from the Entity-Relationship Model and Normalisation The Entity-Relationship diagram: requests places is requested by is made up of Quote was part of was ordered by Product is placed by Order is made up of is requested in is part of is for Quote Product is part of Appendix G Barnaby Electronics Ltd 1

The database diagram from the Normalisation process: CUSTOMER name QUOTE Name* * PRODUCT QUOTE PRODUCTS PRODUCTS G.2 Identify differences between the two Diagrams The following differences exist between the two diagrams: a) In the Entity-Relationship diagram, the entity has a one-tomany relationship with the Order entity, however, in the diagram from the Normalisation process, there is no such relationship. b) In the Entity-Relationship diagram, the Order entity has a one-to-many relationship with the Quote product entity. However, in the diagram from the Normalisation process, the Order table has a one-to-many 2 Mastering Database Design

relationship with a table called Order Products, that does not exist in the other diagram. There is also a one-to-many relationship from the Product table to the Order Products table. G.3 Examine the differences and select the most appropriate design a) Since in this system, a Quote is always linked to a, the relationship between the Quote and the and the Quote and the Order is sufficient to enable the to be found for any Order. From the Order you would find the Quote related to it, since the Quote to Order relationship is a one-to-many, there will only ever be one quote related to an Order. From the Quote, it is possible to find the, since again, there will only ever be one related to any Quote. The relationship between the and the Order can therefore be omitted. b) In this system, there will only ever be one Order Product for each Quote Product. It may be the case that a Quoted Product does not get Ordered, but an Ordered product will always have a Quote Product. It makes sense, therefore, to combine these two entities or tables into the table, as was done in the Entity-relationship diagram. In this way, the product table can still have a one-to-many relationship with the Quote Product, and the Order can also have a one-to-many relationship with the Quote product, although that relationship may not exist if there is no Order for that Quote. The Quote product table will need to be amended to include the Order Number as a foreign key, as in the Entity-Relationship Diagram entity item list. When tables for the Entity-Relationship database designs were initially created in Access, the table was set up with a Primary Key of, instead of name to ensure that each entry in the table was unique. This is an appropriate time to add that change to the model. G.4 Combine the two diagrams to reflect the above solutions Appendix G Barnaby Electronics Ltd 3

CUSTOMER QUOTE * * PRODUCT QUOTE PRODUCTS * G.5 Update Table Designs The tables deigns from the Normalisation process were used as a base, and the changes referred to in G.3 were applied. These changes are as follows: a) No changes required to the Normalised table list, since the -to- Order relationship did not exist in the Normalised model. b) The Quote Products and Order Products tables were combined into the Quote Products table. The Order Number became a foreign key of the Quote Products table. 4 Mastering Database Design

In addition, the name key for the table was changed to be, and the reference to Name in the Quote table was also changed to refer to the. Name Address Quote Quote Reference Number Contact Date * Contact name for Quote Purchasing Authorisation Date Quote Date Product Product Description Order Order Number Quote Reference Number* Order Date Contact for Order Acknowledgement Date Quote Products Quote Reference Number Quantity Single Purchase Price Single Sale Price Total Sale Price Estimated Delivery Date Order Number* Actual Delivery Date G.6 Update table designs to include new requirements The Problems and New Requirements section of the Feasibility study is referred to and the table is changed to include telephone number, fax number and e-mail address. Name Address Telephone Number Fax Number email Appendix G Barnaby Electronics Ltd 5