Chat with us, powered by LiveChat SQL Database diagram 1NF, 2NF, 3NF, and SQL commands with SQL Fiddle, computer science homework help | WriteDemy

For this assessment, you will be creating models, databases,tables, and query reports for a smartphone application.

To complete this assessment, you will be using SQL Fiddle, an online SQL tool,to test run the MySQL code that you will develop for parts C through G. Afterrunning the code, you will take a screenshot of your results, which should becopied into the document that you will submit to TaskStream for thisassessment. Instructions for how to use this tool for each part of theassessment is included in the attached document “SQL Fiddle Instructions.”Please note that for each part of the assessment, there are explicitinstructions on what SQL code you will need to copy and paste into SQL Fiddlepanels to run your test.

The work you complete for each part of the assessment (i.e., the designmodels/diagrams, tables, written explanations, SQL script code, and screenshotresults from running your SQL scripts in SQL Fiddle) should be saved as asingle *.pdf (Portable Document Format) file that you will submit toTaskStream.

Scenario:

You are the database designer and developer for a donut shop that wants tocreate a smartphone application where customers can order donuts. First, youwill design a normalized entity-relationship (E-R) logical database model tostore data related to the customer, donuts, and donut order. Next, you willcreate three tables with primary and foreign keys that are derived from yourE-R model. Once the tables have been built, then you will create views andindexes to protect and fine-tune query performance. You will populate each ofthe tables with sample data. Finally, you will create both a simple“select-from-where” (sfw) query and a complex join query to produce meaningfulreports on individual donut orders and summaries to determine which donuts sellthe best.

Requirements:

A. Constructa normalized model to represent the donut shop smartphone application databasethat supports the scenario above by doing the following:

1. Usingthe unnormalized order form (“Sales Order Form” attached below) for the donutordering database as a reference, produce the final logical schema for thisdatabase by doing the following:

Note: You can design thetables using any method of your choice (e.g., using a drawing tool usingtables).

a. Designa table that is in1st normalformand fulfills thefollowing requirements:

• The table should have a primary key that uniquely identifies the records.

• The values in each of the columns should be atomic.

• There should be no repeating groups.

i. Write aoneparagraph explanation of how youdesigned the table.

b. Designat leasttwotables that are in2nd normal formand fulfill the followingrequirements:

• The tables should meet all of the requirements for the 1st normal form.

• Redundant data appearing in multiple rows should be eliminated with thecreation of the new tables.

• Each of the tables should be related using foreign keys.

i. Write aoneparagraph explanation of how youdesigned the table

c. Designat leastthreenormalized tables that are in3rd normalform and fulfill the followingrequirements:

• The tables should meet all of the requirements for the 1st and 2nd normalforms.

• Fields that do not depend on the primary key or any other field should beeliminated.

• There should be at least three resulting tables, one for customer information,one for donut information, and one for order information.

i. Write aoneparagraph explanation of how youdesigned the table

B. Usingthe tables you designed in3rdnormalform from part A1c,create an entity-relationship (E-R) diagram that fulfills the followingrequirements:HERE or Order a Similar Paper

Our website has a team of professional writers who can help you write any of your homework. They will write your papers from scratch. We also have a team of editors just to make sure all papers are of HIGH QUALITY & PLAGIARISM FREE. To make an Order you only need to click Ask A Question and we will direct you to our Order Page at WriteDemy. Then fill Our Order Form with all your assignment instructions. Select your deadline and pay for your paper. You will get it few hours before your set deadline.

Fill in all the assignment paper details that are required in the order form with the standard information being the page count, deadline, academic level and type of paper. It is advisable to have this information at hand so that you can quickly fill in the necessary information needed in the form for the essay writer to be immediately assigned to your writing project. Make payment for the custom essay order to enable us to assign a suitable writer to your order. Payments are made through Paypal on a secured billing page. Finally, sit back and relax.

Do you need an answer to this or any other questions?

About Writedemy

We are a professional paper writing website. If you have searched a question and bumped into our website just know you are in the right place to get help in your coursework. We offer HIGH QUALITY & PLAGIARISM FREE Papers.

How It Works

To make an Order you only need to click on “Place Order” and we will direct you to our Order Page. Fill Our Order Form with all your assignment instructions. Select your deadline and pay for your paper. You will get it few hours before your set deadline.

Are there Discounts?

All new clients are eligible for 20% off in their first Order. Our payment method is safe and secure.

Hire a tutor today CLICK HERE to make your first order