Develop entity-relationships diagram for the given scenario

Assignment Help Computer Engineering
Reference no: EM133663815

Homework: Database Systems

Objectives

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

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

B. 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.

C. 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 homework concerns a liquor shop chain in Sydney, called the A-one liquor (AL). The objective of this homework 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.

A. 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).

B. 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.

C. 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).

D. Membership Information: The system shall record information on AL members, including type of membership (Platinum/Gold/Silver), and when the membership will expire.

Part I: Entity - Relationship Diagram

Task A:

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 B:

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 C:

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

Part II: Normalisation

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):

A. Create a database and CREATE TABLE statements for all tables in your ERD (Part A) including primary and foreign keys.

B. INSERT INTO statements for populating the database

1. 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.

C. Select Statements

1. List the branches (ID) of MA that have in stock at least 5 bottles of Penfold Grange 2010.

2. 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.

D. Consider the following relation schema as the join of a few tables from Homework 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.

E. 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: EM133663815

Questions Cloud

About your current performance as employee : How confident do you feel regarding the information you have about your current performance as an employee? Why or Why not?
Identify advantage of health care marketing for organization : Identify advantages of health care marketing for an organization and its consumers. Discuss whether you consider marketing appropriate practice in health care.
Promoting interdisciplinary collaboration : Discuss the role of the leader/manager in promoting interdisciplinary collaboration within the health care team.
What are some effective time management strategies : What are some effective time management strategies that you have used at home, at school, or in the workplace? Why were they successful?
Develop entity-relationships diagram for the given scenario : ICT 503- Investigate and identify data requirement for the given study by providing list. Develop an Entity-Relationships Diagram for the given scenario.
Qualities that managers must demonstrate today : Describe 5 qualities that managers must demonstrate today since they now compete in the global arena that were not as important 20 years
Created program to donate their leftover food : Recently, a local restaurant created a program to donate their leftover food at the end of each day to a nearby homeless shelter.
Why do you think strategic management : Why do you think strategic management should matter to all members and layers of an organization?
Describe the role of the world wide web consortium : Describe the role of the World Wide Web Consortium (W3C) in defining web standards and Research the history of the World Wide Web

Reviews

Write a Review

Computer Engineering Questions & Answers

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

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