Develop SQL queries to create all the tables

Assignment Help Database Management System
Reference no: EM132333629

Database Management Systems Assignment -

BRIEF: The purpose of this assessment is to assess the student's skills in interpreting a given specification for modelling and developing a database. The specification is given in a form of a case study which best reflects a real world application or database environment. The real world application for this case study is based on Newegg, a large retail store selling electronic devices and appliances, computers, mobile phones, tablets, TVs, cameras, and so on. Find more information from the company's website.

It can be assumed the company and its online retail store support the following sub-systems:

  • Inventory control - products added to and sold through the system
  • Customers - new and existing customers can edit personal details
  • Sales - orders, payments, refunds, deliveries, invoicing, insurance
  • IT services and training - clients, sessions, open learning centres
  • Human resources - staff, training, pay, job applications, leave, and etc.

You are required to browse to Newegg website and analyse the company's functionality in the context of a database driven application, not as a website. The database should be considered from an enterprise level with their online store in detail in addition to their 15 physical stores across New Zealand that makes use of the database. Enterprise level databases tend to have a large schema with around 30+ entities, a number of views and stored procedures or functions. It is expected of you to produce a database of similar magnitude.

The four parts of this assessment cover aspects of database development from planning to the physical implementation. Although this is a traditional SDLC approach, your lecturer may allow some modular and cyclical (Agile) development.

All of your SQL scripts should work on either a MS-SQL server, PostgreSQL or MySQL server. These servers will be available in the Software Lab.

1. THE PROPOSAL DOCUMENTATION

The proposal is the document describing the problem area, addressing or identifying potential issues and summarising the development process. The proposal should also show a development plan and describe the development methodology that will be adopted.

Requirements:

Executive Summary including and not limited to the following areas

  • Description of the problem to be addressed.
  • Identification of any issues arising out of the database design specification.
  • A description of the development methodology that is being adopted.

Plan of the development process as applied to the SDLC (Hoffer et. al. 2016) - (Show dates and activities).

Enterprise data model.

Proposal should be approximately 3-4 typed A4 pages.

The database in this case study is a 3 tier model with emphasis placed on the enterprise/database tier as reflected in Chapter 1 of the textbook.

Models and methods must be specific and applicable to this case study, and are not to be generic.

2. PLANNING AND LOGICAL DESIGN

This part of the assessment considers the logical structure of the database. Here the existing system is to be analysed to determine how it works and identify the type of information to be stored in the database.

Requirements:

Analyse and record at least 10 potential business rules that will be included in the design of an entity-relationship model.

Develop a fully attributed Entity-Relation diagram (include attributes without data-types).

Examine your ERD and identify 2 areas that could be potential referential integrity issues.

Produce sample reports for the following:

  • Customer list with addresses.
  • Product list for given category (actual products from Newegg) - Each student is required to use a different brand for the data.
  • Total sales for over a given period (start date to an end date)
  • Order or Invoice for a given customer.

Indicate on each report the attributes used to provide the necessary information.

3. PHYSICAL DESIGN AND IMPLEMENTATION

This is the major activity associated with the database development. It should include the documented queries and testing plans.

Requirements:

With the aid of one of the database servers and the database administration tool you are to design/create and produce the following:

Comprehensive data dictionary (including all data types)

Develop SQL queries to create all the tables with appropriate constraints and indices.

Develop SQL views to produce the following information:

  • Customer list with addresses per store.
  • Comprehensive Product list for given category (actual products from Newegg). Each student is required to use a different brand for their sample data.
  • Total Monthly sales for a given year per store.
  • Order or Invoice for a given customer.

Develop 2 stored procedures or functions (depending on the server) to;

  • apply a price increase for all the products in a selected category and;
  • produce all the necessary data for a single invoice that is ready to be printed,

Discuss how you would implement data and user permissions. Create a matrix to support your discussion.

Develop a basic MS-Access application that has at least 4 data entry forms that use the above views, tables and stored procedures.

Develop MS Excel spreadsheet that connects to your database and uses the Daily sales per store view over a given period.

4. PRESENTATION/DEMO

Requirements: Clear/understandable demonstration of the working database; Be ready to demonstrate any time after the due date.

Demonstration includes but not limited to:

  • The queries to provide the data for two of the sample reports from PLANNING & LOGICAL DESIGN;
  • Two cases of referential integrity issues;
  • Two general queries (SELECT) requested by the lecturer (looking for on demand information) and;
  • Working database with all of the tables and sample data
  • Demonstrate two of the data entry forms.
  • Clear and error free demonstration.

RESOURCES -

  • Use Visio, Dia, or Lucid Chart for your database diagrams (other tools not recommended).
  • A MS-SQL server and a PostgreSQL server are available in the lab.
  • Database administration and modelling tools will be made available on the shared network drive.
  • There are a number of SQL tutorials and references on EIT online.

REFERENCES - Hoffer, J., Ramesh, V. & Topi, H. (2016). Modern Database Management, (11th ed.) Prentice Hall.

Reference no: EM132333629

Questions Cloud

What are the five types of individual adaption : Discuss Robert Merton's theory of anomie and his modes of adaptation. What are the five types of individual adaption?
Understand the interconnectedness of the systems : Among the many challenges good designers face is to understand the inter connected ness of the systems that govern the way our places and planet function.
Develop a closed-loop system : Develop a closed-loop system related to the company's products, DuoLever has invested around $50 million in soft plastic recycling research, development
Juvenile offenders are treated differently adult offenders : Explain the significant differences between how juvenile offenders are treated differently than adult offenders. What is the rationale behind these differences?
Develop SQL queries to create all the tables : ITDB6.200 Database Management Systems Assignment, Eastern Institute Of Technology, New Zealand. Develop SQL queries to create all the tables
Design and produce an enhanced entity relationship diagram : CSC72001 - Database Systems - Southern Cross University - Design and produce an Enhanced Entity Relationship Diagram (EERD) using a modelling or drawing tool
Supreme court cases involving juveniles and juveniles rights : Which you explain the key U.S. Supreme Court cases involving juveniles and juveniles' rights between 1970 and 1975 and their implications.
Your viewpoint on effectiveness of probation programs : Explain your viewpoint on the effectiveness of probation programs, basing your arguments on the experts' views given in the text.
Replaced reform schools with community-based services : Dr. Jerome Miller, head of the Massachusetts Department of Youth Services, replaced reform schools with community-based services.

Reviews

len2333629

7/5/2019 12:38:03 AM

The assignment is a DBMS assignment which contains 4 parts last part is presentation. in the assignment I have the first two parts but haven't got that great marks like first part I got 80/100 and second part I got 42/60 and for the third part I need good marks so please go through my first and second part and also the instruction manual and finish the third part for me. This DBMS assignment third part which is "PHYSICAL DESIGN AND IMPLEMENTATION" needs to be done use MySQL tool for SQL queries part provide me with the SQL file separately because I want to run the queries in the presentation and after the completion of the assignment provide me with an explanation of the flow of queries as I need to give a presentation.

len2333629

7/5/2019 12:37:57 AM

Attempt all tasks. All work submitted must be original and entirely your own work, except where you use ideas, quotations, tables, diagrams, code or any other material from other writers. In such cases you must acknowledge the source using the APA referencing style. Unless you have prior approval from your lecturer, no part of the work submitted may be used as part of any assessed work for any other academic course. Assignments must be uploaded through EIT-Online. Assignments may be placed in the assignment collection box in C Block on the due date if the EIT-Online service is unavailable. The Business and Computing Faculty has a policy of NO LATE ASSIGNMENTS so please ensure that you adhere to the due dates. This is an individual assessment and students are expected to design, build, and test and document the database that meets the requirements as specified. Note: If you wish to do an alternative case study, you must confirm and have it approved by the lecturer.

Write a Review

Database Management System Questions & Answers

  Create a sub directory called your name under the class

Create a sub directory called your name under the class directory.

  Design relation schemas for the entire database

Design relation schemas for the entire database.

  What are the differences in the sql supported by rdbms

Start by researching Microsoft Access and other prominent RDBMS such as MS SQL Server, Oracle and My SQL. Compare and contrast these systems based on key features such as scalability, ease of implementation (development and support), performance, ..

  Construct the tables in mysql from the logical database

Using the MySQLTM Workbench, or through a script, construct the tables in MySQL from the logical database design from your normalized ERD.

  Write a description of the selected dataset and project

Write a description of the selected dataset and project, and its importance for the global leaders. Information must be appropriately referenced.

  How did you model section

Semester_ID is composed of two parts: Semester and Year. Section Number is an integer (such as "1" or "2") that distinguishes one section from another for the same course but does not uniquely identify a section

  Determine steps in development of an effective erm diagram

Determine the steps in development of an effective ERM Diagram and determine possible iterative steps / factors that one must consider in this process with consideration of HR core functions and responsibilities of the client.

  Implement and query a database from a supplied er diagram

ITECH 1006 - Database Management Systems Assignment. For this assignment you will implement and query a database from a supplied ER Diagram and Schema

  How each type of association is depicted on a class diagram

Determine the relationships between aggregation, generalization, and association. Explain how each type of association is depicted on a class diagram.

  Examine the use of databases in organization

Create a 2-3 page (350 words per page) examining the use of databases in organization. Explain what database applications are utilized (Microsoft Access, DB2, Oracle, etc.).

  Implementation of information gathering component

Based on the pseudocode developed in Subtask 1.1, you are to implement the Information Gathering Component in this task.

  Discuss about the aggregate function queries

Suppose you have been hired as an IT professional to support database reporting functionality for a Human Resources system.

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