Analyse and comprehend a provided er diagram

Assignment Help Database Management System
Reference no: EM13317145

To analyse and comprehend a provided ER diagram and Database Schema

To implement a database based on the provided ER diagram and Database Schema

To write required SQL statements to query the database

Project Specification

The management team now require a partial implementation of the design made in Assignment 1. In order to keep consistency between the assignments, database specification containing the ER diagram and the schema is provided in this document. You should create your database according to this documentation. Please make sure that your implementation is consistent with this design. This means that your table names (upper case), field names (mixed case, no spaces) and data types have to be according to the specifications provided in this document. The implementation phase includeswriting SQL statements to create a database and its tables, populating the tables with data, writing a number of queries to create reports that can be used by the management team. Your database should contain sufficient data in each table (5 - 10 records in each table) to demonstrate that your queries work.

Implementation of the Database

To implement the database system, you are required to

a) provide SQL commands to create the database, its tables, the relationships of the tables

b) Create a text file called YourStudentId-Create.sql (format xxxxxxx-Create.sql) for example 2225991-Create.sql that will provide SQL commands to:

i. create a database called WareMart[YourStudentID] (egWareMart30011111)

ii. create all of the required tables for the database including their primary keys, foreign keys and the relationships of tables.

c) Create a text file called YourStudentId-Insert.sql (format xxxxxxx-Insert.sql) for example 2225991-Insert.sql that willprovide SQL commands to:

i. insertsufficient data into each table you have created to test the queries(at least 5 records in each table).

ii. You are required to include our full name as one of the clients; but you can provide fake details for your address.

d) Create a text file called YourStudentId-Queries.sql (format xxxxxxx-Queries.sql - for example 2225991-Queries.sql) that contains all of the queries to display the following reports:

1. An alphabetically sorted list of all clients. Only client number and name are required.

2. List of names and complete address of all employees sorted by their salary.

3. The date on which the most recent stock request has been made. The date itself will suffice.

4. List of all the client names and their residentialaddresses.

5. A list of all clients that have not placed a stock request yet. Displaying client number will be sufficient.

6. A list containing the name (surname and first name) of any employee that has picked any product(s) for a stock request.

7. A list containing the total quantity on hand for each product (product no and description) regardless of warehouses and location.

8. A list showing each product requested on each client stock request. Show client name, product number and quantity requested. sorted by client name and then product number.

9. A list of employees (surname and first name are sufficient) and their salary for all employees whose salary is less than or equal to average salary.

10. A list of employees as in question 9, but show their salary with a 7.5% increase.


Attachment:- DBMS_Question.docx

Reference no: EM13317145

Questions Cloud

Identify physical security methods and the role : Identify physical security methods and the role they play in a network security plan. Compare and contrast the advantages and disadvantages of the physical security methods you identified.
Calculate the acceleration of the hanging block : two blocks are connected by a string over a disk-shaped pulley with mass M8.5 kg and outermost readuis R = 0.10m. Calculate the acceleration of the hanging block
Define five layers of tcp/ip protocol suite : Write a 2 page research paper (excluding the title page) on the five layers of TCP/IP protocol suite. In addition to textbook, use two other resources (Wikipedia sources are not permitted) and list each resource used at the end of paper in the ref..
Figure out the times henry was at each of the companies : Figure out the times he was at each of these companies, who else was there at the time and how they might have collaborated. Include the technologies that were in use or being developed.
Analyse and comprehend a provided er diagram : Analyse and comprehend a provided ER diagram and Database Schema and to implement a database based on the provided ER diagram and Database Schema
What is the rms power delivered to the transformer : An AC adapter for a telephone-answering unit uses a transformer to reduce the line voltage of 120 V (rms) to a voltage of 10.0 V. What is the rms power delivered to the transformer
At what angular frequency should the coil be rotated : You need to make an ac generator with a sinusoidal output of 14.0 V amplitude and frequency 50 Hz. At what angular frequency should the coil be rotated
Which parts of the assignment were you not able to complete : Which parts of the assignment were you not able to complete fully? For each, explain why you were unable to complete this part and what steps you took to attempt to complete it. Give me as much detail as possible such that I may award partial cred..
Determine horizontal force p that must be applied to move : The wedge is used to level the member. Determine thehorizontal force P that must be applied to move the wedge to theright. The coefficient of static friction between the wedgeand the two surfaces of contact is ts=.25.

Reviews

Write a Review

Database Management System Questions & Answers

  Define calculations and format the table

internship at Mountain View Realty, a real estate firm that focuses in the North Utah County area. The previous intern developed a spreadsheet listing houses listed and sold during the last several months. She included addresses, location, list pr..

  List different entities-objects-logical processes-data flows

List the different entities or objects, logical processes, data flows, and data stores that are involved, starting from the time you submitted your time sheet.

  Delete an existing product from the database

Utilise an include statement to refer to connection.php instead of the long version of the database connection code so that you can keep the database more secure. See Notes for more details.

  Explain the primary and foreign keys for each table

Instructions- This assignment builds on your first two assignments using Access and asks you to consider the process of designing, implementing, and converting data.

  What is the key for r

What is the key for R? Decompose R into 2NF, then 3NF relations and what you know about the relation to show that this MD cannot violate 4NF

  Study and modify the postgresql source code

Write a Assignment to study and modify the PostgreSQL source code, with a focus on one of the core modules - the buffer manager

  Explaining business activity in new is with a database

Assume you manage business activity which needs a new IS with a database. The development team is divided on which DBMS you must use. One faction wishes to use oracle,a second wants to use MtSQL, and a third wants to use SQL server.

  How many green books it has

Webster Library wants to know how many green books it has. Out of the 500 shelves of books, 3 shelves were selected. These shelves hold 150 books each. 54 of the books sampled were green.

  Analysis of a simple case study

VSS has an existing software package that controls its high bay systems and wants to rewrite it. The existing system is written in C and uses C-ISAM files to store data.

  Optimistic concurrency control sets few locks on the data

Optimistic concurrency control sets few locks on the data in the database, lowering the isolation level that you use in an application. This allows more applications to run concurrently and potentially increases the throughput of the applications. Th..

  Create an oracle database

Populate your database with at least 3 rows of data and import your IDEF1X diagram into Oracle and create the appropriate tables and relationships.

  Explain database models-hierarchical and relational

Explain each of three database models, hierarchical, relational, and object-oriented, and provide specific referenced example of each of these model types implemented in a functioning database

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