Derive a physical design from the logical design

Assignment Help Database Management System
Reference no: EM133774085

Database Systems

Case Study - Part A
Entity - Relationship Diagram

Objectives

This assessment item relates to the unit learning outcomes as in the unit descriptor. This assessment is designed to improve students' skills to analyze organization database requirements, develop a data model to reflect the organization's business rules. This assessment covers the following LOs.

Synthesize user requirements/inputs and analyse the matching data processing needs, demonstrating adaptability to changing circumstances.

Develop an enterprise data model that reflects the organization's fundamental business rules; refine the conceptual data model, including all entities, relationships, attributes, and business rules.

Derive a physical design from the logical design taking into account application, hardware, operating system, and data communications networks requirements; further use of data manipulation language to query, update, and manage a database

Case Study
This assignment concerns a liquor shop chain in Sydney, called the A-one liquor (AL). The objective of this assignment is to develop a database system that will be used to centrally store and manage all relevant information for the branches of AL.
The information to be stored include information on different branches of AL (e.g., Bankstown, Hornsby, etc.), types of drinks they sell (beers, wines, cedars, etc.), staff they employ (Retail Assistants, Shelving Assistants, etc.), AL Members (AL Loyalty Card holders). The basic requirements gathered from the stake holders is presented in the following four points. As typically the case, these requirements are often underspecified. Use your judgment in interpreting them when required and keep a note of the assumptions you made.
Branch Information: The AL System shall keep information on each branch including its name and address, and the number of employees who work there. The system shall also contain information on which days (Mon-Sun) the branch is open, and opening hours. It will also keep information on opening hours (e.g., Mon-Fri 10:00AM-5:30PM; Sat 9:00AM-9:00PM; Sun Closed).
Product Information: The system shall contain relevant information on products of different types at the "item level", such as: (wine/beer/spirit/...), packaging info (can/bottle/...), volume (e.g., 375ml X 6 pack), price, and brand (e.g., Tooheys Old Dark Ale), as well as current stock level.
Staff Information: The system shall record information on staff members who work at different branches of AL. This will include their roles, type of employment (e.g., permanent, casual), salary (annual or hourly depending on permanent or casual), as well as who they report to (i.e., supervisors).
Membership Information: The system shall record information on AL members, including type of membership (Platinum/Gold/Silver), and when the membership will expire.

Assignment Requirements

Part A

Task 1:
Investigate and identify data requirement for the given study by providing list of required entities, list of attributes in each of these entities, and the unique identifier for each entity.

Task 2:
Develop an Entity-Relationships Diagram for the given scenario (It must contain entities and unique identifiers in terms of keys, relationships between the entities including relationships constraints, and the attributes).

Task 3:
Derive the physical design having detail of entities, primary and foreign keys, detail of all the attributes.

Case Study - Part B
Normalisation
Part B

Submit a single plain text file with filename as "studentid_studentname_AL_SQL" containing all SQL implementation. Your SQL queries must work on MS SQL Server and be able to be demonstrated. SQL code required (Use MS SQL Server):

Create a database and CREATE TABLE statements for all tables in your ERD (Part A) including primary and foreign keys.
INSERT INTO statements for populating the database
Insert five rows of (made-up) data into each table. Make sure that the data you enter in these tables should be sufficient to return at least one row for each query in Task 3. AL should hold at least 5 bottles of Penfold Grange 2010 in some branch or other.
Select Statements
List the branches (ID) of MA that have in stock at least 5 bottles of Penfold Grange 2010.
SELECT statement to generate a list of all email addresses of members whose card will expire in the month after the coming month. Thus, for instance, if the query is run in November 2121, it will list the emails of all members whose membership will expire in January 2122. The emails should be ordered by Branch ID, then by expiry date, and then by the email address, all in ascending order.

Research and Discussion
Submitted as a MS Word or PDF Document
Consider the following relation schema as the join of a few tables from Assignment 1 ERD

Abnormal_Rel ( ProductID, BranchID, campaignID, MemberID, ProductType, PackageType, YearProduced, Price, Brand,
StockLevel, CampaignStartDate, CampaignEndDate, FirstName, LastName, eMail, MembershipLevel, MemberExpDate, Discount )

Determine for UPDATE anomaly whether or not the relation Abnormal_Rel is susceptible to that anomaly. Support your determination with adequate explanation and a small example.

Normalize/decompose the relation schema Abnormal_Rel until you get relations that are in 3NF. Use appropriate illustration to aid the understanding of your work.

Reference no: EM133774085

Questions Cloud

Creating a cross-cultural study : Suppose you were tasked with creating a cross-cultural study to examine individuals like yourself in college in the U.S. to individuals in college in China?
Examining privileges and marginalized identities : You examining your privileges and marginalized identities in this final week-reflecting on how they may affect your relationships with clients and colleague.
Analyse the impact of layer on enhancing the usability : Evaluate the purpose, structure, and design of layer 3 of the Decentralised Applications, which provides the accessibility layer.
Explaining the costs and rewards : As written in our textbook, "Social exchange theory essentially entails a weighing of the costs and rewards in a given relationship.
Derive a physical design from the logical design : Derive a physical design from the logical design taking into account application, hardware, operating system, and data communications networks requirements
How can specific dialects or pronunciations strengthen : How can specific dialects or pronunciations strengthen or weaken an individual's sense of identity and social belonging?
Read three excerpts from the buddhist monastic code on sex : Read these three excerpts from the Buddhist Monastic code on sex, personal appearance, and alcohol.
Activity - cisco packet tracer : Getting Started with Cisco Packet Tracer - Configure ACL on the right routers, interfaces and directions based on these requirements: Permit packets
What is the leading cause of homelessness in california : What are the causes and the remedy to the increasing state of homelessness within California? What is the impact of homelessness on society?

Reviews

Write a Review

Database Management System Questions & Answers

  Knowledge and data warehousing

Design a dimensional model for analysing Purchases for Adventure Works Cycles and implement it as cubes using SQL Server Analysis Services. The AdventureWorks OLTP sample database is the data source for you BI analysis.

  Design a database schema

Design a Database schema

  Entity-relationship diagram

Create an entity-relationship diagram and design accompanying table layout using sound relational modeling practices and concepts.

  Implement a database of courses and students for a school

Implement a database of courses and students for a school.

  Prepare the e-r diagram for the movie database

Energy in the home, personal energy use and home energy efficiency and Efficient use of ‘waste' heat and renewable heat sources

  Design relation schemas for the entire database

Design relation schemas for the entire database.

  Prepare the relational schema for database

Prepare the relational schema for database

  Data modeling and normalization

Data Modeling and Normalization

  Use cases perform a requirements analysis for the case study

Use Cases Perform a requirements analysis for the Case Study

  Knowledge and data warehousing

Knowledge and Data Warehousing

  Stack and queue data structure

Identify and explain the differences between a stack and a queue data structure

  Practice on topic of normalization

Practice on topic of Normalization

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd