Question

ORDER 21617 PREMIERE PRODUCTS DATE 10/23/2007 Heading CLISTOMER 608 Johnsons Department Store 372 Oxford Sheldon FL 3353 SALES REP 65 Juan Perez NUMBER PART DESCRIPTION NUMBER PRICE TOTAL ORDERED Order lines BV06 Home Gym CD52 Microwave oven 794.95 150.00 1589.90 600.00 Body Extensions Footing ORDERTOTAL >> 2189.90

SQL

Background:

Premiere Products database team is working on storing the information contained in the order invoice form in a databases table. Looking at what data is captured in the order form, they came up with the following table description using DBDL (DataBase Design Language).

ORDER_INVOICE (InvoiceNum, Date, CustomerNum, CustomerName, Street, City, State, Zip, RepNum, RepFirstName, RepLastName, (ItemNum, Description, QtyOrdered, QuotedPrice))

Assumption:

-Each order transaction is identified uniquely by InvoiceNum.
-Customer may order multiple times and an order may contain multiple items.
-QuotedPrice may vary on the same ItemNum depending on the QtyOrdered.

Tasks to be completed:

1- Determine the level of normalization of this ORDER_INVOICE table. EXPLAIN WHY IN DETAIL.
2- Using functional dependency analysis and the definition of different levels of normalization (1NF, 2NF, etc.), show step by step how you would bring this table to the 3NF level.
NOTE: This table is NOT a part of the existing Premiere Products database tables. Assume NO other tables exist at this point.

The table design in question:

ORDER_INVOICE (InvoiceNum, Date, CustomerNum, CustomerName, Street, City, State, Zip, RepNum, RepFirstName, RepLastName, (ItemNum, Description, QtyOrdered, Quoted Price))

1. Even though the field names in this table resemble the contents of the Premiere Products database, you need to ASSUME this is the only table you are using. If the tables in the Premiere Products are available, there is no reason to design this table many of the fields (data) in this table are already available in those tables. That is why you need to make this assumption.

2. To solve this problem, you must carefully FOLLOW the following STEPS in writing your answer:

a. You need to first tell me whether the table is “normalized” or “un-normalized” along with the “reason for your answer.” Simply saying normalized or not will not suffice.

b. You must show how you will take this table to 3NF BUT you CANNOT show what the table(s) will look like when they get to that level. You must first show what the table looks like when it is in 1NF using DBDL (DataBase Design Language) notations. You must also explain WHY you believe it is in 1NF. You will then take the table to 2NF using functional dependency as the analysis tool. Again, provide the EVIDENCE for why you are saying the table is in 2NF. Finally provided the similar process to take it to 3NF along with the evidence.

3. When you analyze functional dependency of different fields, you may see certain fields appearing in multiple functional dependencies. In that case, you should evaluate which functional dependency that field most naturally belongs to. You should not use the same field in multiple tables unless it is necessary to complete the relationship with the table it is supposed to be connected. You need to make a logical choice by understanding the relationships among the tables as you move the original table toward 3NF by subdividing the data into multiple set of tables. This is a LOGICAL process and you cannot just do this mechanically.

0 0
Add a comment Improve this question Transcribed image text
Know the answer?
Add Answer to:
SQL Background: Premiere Products database team is working on storing the information contained in the order...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Normalize the un-normalized table given below through INF, 2NF and 3NF. Show the normalization pr...

    Normalize the un-normalized table given below through INF, 2NF and 3NF. Show the normalization process in a file (e.g., creating tables and drawing lines in MS Word or MS Excel), save as a .pdf file, and submit it through the link available on Canvas. Name your file according to this scheme: yourlastname a3_normalize.pdf. Do not protect your .pdf file. The presentation of your normalization process should mimic the normalization class exercise and the example provided on Canvas In order to...

  • --Create procedure for GetPartNums in SQL --GetPartNums- retrieve all part nums from the database --Database if...

    --Create procedure for GetPartNums in SQL --GetPartNums- retrieve all part nums from the database --Database if db_id('TestPremierProducts') is not null begin use master alter database TestPremierProducts set SINGLE_USER with rollback immediate drop database TestPremierProducts end create database TestPremierProducts go USE TestPremierProducts; go /* create the tables */ CREATE TABLE Rep (RepNum int Identity(1,1), LastName VARCHAR(15), FirstName VARCHAR(15), Street VARCHAR(15), City VARCHAR(15), State VARCHAR(2), Zip VARCHAR(5), Commission MONEY, Rate DECIMAL(3,2), PRIMARY KEY (RepNum)); go CREATE TABLE Customer (CustomerNum int Identity(1,1) PRIMARY...

  • To be in the third normal form, Hint: In order to in 3NF you must first...

    To be in the third normal form, Hint: In order to in 3NF you must first have attained 1NF and 2NF so all of the above is the correct answer. In the database design world the saying is that to be completely normalized the data be represented "by the key, the whole key, and nothing but the key so help me Codd". Ted Codd was the person behind the development of the relational theory back in the 1960s and 70s....

  • for question (c) do like this 3. A table to record the information of Dentists, Patients,...

    for question (c) do like this 3. A table to record the information of Dentists, Patients, and Appointments in a clinic is given below. DentistNo DentistName PatientNo PatientName PatientPhone AppointmentDate Appointment Time AppointmentFee On a single day each patient can have more than one appointment. It is known that DentistNo is unique for each dentist. PatientNo is unique for each patient. PatientNo must not be used as a composite key. A patient is allowed to see any dentist. (a) Use...

  • You were requested to design a database to store the data concerning a large mechanic shop....

    You were requested to design a database to store the data concerning a large mechanic shop. Your database has to store the following: For each car, you want to store the make, model, year, color, engine info, license plate, VIN (vehicle identification number), and a field for general notes. Additionally, for each car, you need to keep information about the owner. For each owner, you need to store the client ID, the name, address information, phone number, and email. An...

  • In Module Four, submit a systems analysis for your project, including a comprehensive entity-relationship diagram (ERD)....

    In Module Four, submit a systems analysis for your project, including a comprehensive entity-relationship diagram (ERD). Although you may use any tool to complete the ERD, it is strongly recommended that you use Microsoft Visio and then save the diagram into an image format (GIF or JPG) and then copy and paste the image into your systems analysis. All sections of this milestone should be compiled into a single Word document. Furthermore, all of Milestone One should be included in...

  • Database Fundamentals class. Q1)This is given information from a local electronic discount store,/ PID- P Descㅡㅡㅡ...

    Database Fundamentals class. Q1)This is given information from a local electronic discount store,/ PID- P Descㅡㅡㅡ CPhone-C.Name-State CZ code. CID l p·Manufacture CountrylDtCountry s101 TV S0102 TV s103 TV v333 VideoGame 555-666 Tom v555 VideoGame 555-666 Tom 11 Japan 11Japan 1 USA 1 USA 1 USA 1 USA 1 USA 1 USA 1 USA 1 USA 12 China 555-666 Tom 333-222 Bob TX TX NV TX TX 68002 1001 Samsung 10888 2002 Samsung 75080 3003 LG 68002 1001 FIFA19 444-111...

  • PROBLEM STATEMENT: Suppose you have a client that has given you the following business rules to...

    PROBLEM STATEMENT: Suppose you have a client that has given you the following business rules to form the basis for a database design. The database must enable the manager of a company dinner club to mail invitations to the club’s members, to plan the meals, to keep track of who attends the dinners, and so on. Each dinner serves many members, and each member may attend many dinners. A member receives many invitations, and each invitation is mailed to many...

  • Relational Database Design Theory, please answers ALL parts because they are related to each other, and I can't separate it into different questions. Please help! By looking at the PHLogger tab...

    Relational Database Design Theory, please answers ALL parts because they are related to each other, and I can't separate it into different questions. Please help! By looking at the PHLogger table: A. List all non-trivial functional dependencies. B. What is the highest normal form the PHLogger table is in currently? C. The external consulting experts at DBInstructor, Inc., have noticed that city and state of an address can be inferred by its postal code (zip code). What new functional dependencies...

  • SUBJECT: INFORMATION TECHNOLOGY, CLASS: ADVANCE DATABASE MANAGEMENT Hello Everyone, I need help on a project for...

    SUBJECT: INFORMATION TECHNOLOGY, CLASS: ADVANCE DATABASE MANAGEMENT Hello Everyone, I need help on a project for my ITD 256 Class. These are the questions I am suppose to answer: Project: The project should include designing a database deals with making a proposal for the database implementation. You can either try to fix an existing problem in your business or create a new database for the new projects or new clients. Please define the objective, scope, and time frame of your...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT