Design an entity-relationship model of the given problem

Assignment Help Database Management System
Reference no: EM13944700

The proprietors of the Tom Wiley Department Store have approached you and asked if you could design a database to help them manage the complaints of their customers. They would like you to create a conceptual data model of their business information requirements and would like to see how the model could be used to provide the answers to some commonly requested queries and reports. ABC has provided the following information that it believes may be relevant to your task.

Tom Wiley operates stores in the following cities: Melbourne, Ballarat, Geelong, Sydney, Newcastle, Brisbane, Adelaide and Perth. Stores are referenced by store number. Tom Wiley also keeps store name, street, city, state, postcode, telephone, and manager's details. Each store is assigned a supervising store where major customer complaints are referred, training is conducted, and server applications and help desk functions are located. The supervising store currently supervises stores within its own state boundaries but this is not necessarily going to continue in the future.

When a customer rings with a complaint, details of the complaint are to be recorded. The details include the date the complaint was made, the employee id of the person recording the complaint, the customers first name, last name, street address, town, state, post code and phone numbers. A customer may provide the employee taking the call with more than one type of phone number and include mobile, fax, home and office numbers. A complaint may be one of three different types. It may be related to the store, one or more employees or product(s) of the store. If a complaint is about the store a short description of the complaint is recorded and it is referred to the manager. If the complaint is about employees of the store, the ID(s) of the employees involved in the complaint are recorded, along with a short description of the problem. If the complaint is about products, the product id, the number of items and a short description are recorded. A customer may be involved in number of complaints. Currently complaints are provided with individual identification numbers. Once a complaint has been resolved, the date that the complaint was closed is recorded.

Whilst the complaint is open all contact with the customer is recorded. Details of the date, time, the employee making contact, the type of contact (phone, fax, email or personal visit) and a short description of the contact are all recorded.

If the complaint is about a product, a replacement is normally provided. The store likes to keep track of all of the products replaced and the date the items were sent to the customer.

The store would also like you to interface your database with their products table in their inventory database. The products table has fields including ProductId, ProductName, ProductDescription, ProductUnitCost.

You are required to design (using an E-R diagram) an entity-relationship model of the problem, convert the model into a relational model, assess the normal form of each schema and write SQL queries that will answer the following queries.

1. An alphabetically sorted list of all customers who have made a complaint. Only customer number and name are required.

2. A more complete customer list sorted by customer id. It should contain customer id, name, address and all available phone numbers.

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

4. A list of all complaints still open. Displaying complaint number will be sufficient.

5. A list of all complaints sorted by the type of the complaint. Displaying the complaint identification number, the customer id, the date the complaint was made and the type of complaint will be sufficient.

6. A list of all products involved in the customer complaints. Display the product id and name, sort this using the product name.

7. A total of the cost price of all products replaced. Displaying the total amount will be sufficient.

8. A list of all customers with more than 4 complaints. The customer id and name should be displayed.

9. A list showing the total number of complaints made about employees in each department. Displaying the department id and the total number of complaints is sufficient.

10. A customer list for all complaints still open that shows when the customer was last contacted. The customer id, name, last date of contact and type should be displayed, the list should be listed in descending date order.

What to submit

1. An entity relation diagram that models the problem which includes:

a. all entities, relationships (including names) and attributes that are relevant,

b. primary keys identified,

c. include cardinality (one / many) and participation (optional / mandatory) symbols,

d. assumptions you have made, e.g. how you arrived at the cardinality / participation for those not mentioned or clear in the business description, etc.

The E-R should be completed using the standards of this unit.

2. Relational data structures that translates your E-R diagram which includes:

a. relation names,

b. attribute names,

c. primary keys identified

d. For each relation show the level of Normalisation achieved, and for any not to Third Normal Form, explain why.

The data structures should be shown using the standards of this unit.

3. A relational database schema that translates your relational data structures which includes:

a. table names,

b. column names and field types

c. primary keys identified

4. A hardcopy of the data in your database (developed using MySQL), this should contain sufficient data in eachtable to demonstrate that your queries work.

5. An electronic copy of your database, with all records saved in the database. id _firstname_lastname.sql

Example 123456_Sunam_Pradhan.sql

6. Hardcopy of each query and the result of the query (screen capture). You should submit all design work, program documentation, and relevant sample screen shots of your implementation.

Reference no: EM13944700

Questions Cloud

Luther is about to add a new fleet of delivery trucks : Luther is about to add a new fleet of delivery trucks. The price of the fleet is $1.5 million. If Luther acquires the new fleet of delivery trucks using a capital lease, Luther's Debt to Equity ratio will be closest to:
Determine the regression equation for the data : Time and cost word processing in the first two columns of table below we repeat our data on time and cost for a sample of 5 word processing jobs. Cost($) Time (hr) y x 125 5 175 7 325 15 425 20 475 22.5
Compile the code and run it : OptionPane.showMessageDialog(null, "How good is your memory?
Why descartes think that philosophize to refute skepticism : Why does Descartes think that to philosophize is to refute skepticism"? The short answer is that Descartes thinks knowledge is possible. Skepticism denies that knowledge is possible.
Design an entity-relationship model of the given problem : You are required to design (using an E-R diagram) an entity-relationship model of the problem, convert the model into a relational model, assess the normal form of each schema and write SQL queries that will answer the following queries.
Describe the five ways to manage conflict : Describe the five ways to manage conflict. Explain your personality type (Myers-Briggs Typology) and then describe what would be the most likely way for you to manage conflict.
Formed when an object like the sun collapses : a neutron star is formed when an object like the sun collapses. Suppose a uniform spherical star of mass M and radius R collapses to a uniform sphere of radius 10^-5 R. If the original star has a rotation rate of 1 rev each 25 days, (like the sun)..
Probability of getting an average : Assume grades in a course follow a normal distribution. The average grade in a class is 75, and the standard deviation is 5 points. A professor takes a sample of 10 people in the class and calculates the average for that class is also 75. IN other..
Who is silenced or forgotten in your school curriculum : Who is silenced or forgotten in your school curriculum as a result of these decisions or policies?

Reviews

Write a Review

Database Management System Questions & Answers

  Brazilian federal data processing service

Examine the proposed business ethical problem that the Brazilian Federal Data Processing Service is presently experiencing. Determine whether you agree or disagree that Brazil's problem is an ethical one that should be corrected. Provide a rationa..

  Determine what system privileges the dvonline role has

Determine what system privileges the DVONLINE role has. Determine what system privileges your account has been granted

  Create a database schema that supports the companys business

Create a database schema that supports the company's business and processes. Explain and support the database schema with relevant arguments that support the rationale for the structure.

  Installation process between oracle 11g and oracle 10g

Create a document that will compare the installation process between Oracle 11g and Oracle 10g. Your submission document can be in the form of a MS Word document or a MS Excel spreadsheet. As long as you can adequately present your findings, the f..

  Define database architecture

Define database architecture. Consider Microsoft® Access®, Microsoft® SQL Server®, Oracle®, and IBM DB2® software as possible examples.

  Code for event handler for the onclick event

Write the code for the event handler for the OnClick event of btnReset. Write the code for event handler for the OnClick event of btnCheck so that the number of occurrences of the selected vowel are counted and displayed.

  What are some reasons for studying file systems

What are the advantages of having the DBMS between the end user's applications and the database?

  Create a database design

Create a database design (schema) based on the following problem description.

  Database planner should spend a considerable amount of time

Provide what reports may be produced as a result of your database design.Based on the information you have researched, create a 2-3 page design document that includes a description of the database you would like to create as well as sample tables ..

  Develop an e-r diagram for the library database

Develop an E-R diagram for the library database. The relation schemas for the library database.

  Importing and analyzing sales data

Importing and Analyzing Sales Data- Security Enablers is a national company that provides security systems for small businesses. They have asked you to use the company template and import sales for the last five years

  Identify all entities that have a direct bearing on database

Describe all the business rules that apply to this problem (relationship and constraint). Using the relationship business rules, establish the correct relationships (1:1, 1: M, M: N) between the entities.

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