Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Needs the following; An Entity Relationship diagram representing the database design showing all necessary entities and their relationships with all tables normalized in third normal

Needs the following;

  1. An Entity Relationship diagram representing the database design showing all necessary entities and their relationships with all tables normalized in third normal form. This can be scanned, drawn in a drawing application (any Microsoft product, i.e. Paint, Visio, Word, etc.), scanned image of a hand-drawn diagram in pdf, bmp, or jpg format or a digital picture of your hand-drawn diagram in jpg or bmp.
  2. Data definition (DDL) statements to create your tables
  3. Data manipulation (DML) statements to populate your tables
  4. Two examples of SQL statements to retrieve data from related tablesimage text in transcribedimage text in transcribed
CS 2500 Elementary School Candy Sales Database Design Problem The following table is an attempt to track the sale of candy by elementary school students. The sale is to raise money for a school trip. Each class could have several students attempting to sell candy they have received. Each student is given several units of candy (QtyR), and the amount of each that they have sold is recorded (Qtys). The system is to track the running total of candy received and sold. Individual allocations and sales of candy do not need to be recorded. Note that the sample data within the table shown below is an un-normalized, flat-file system. QtyR3 Qty S3 Student Class Candy1 Smith, Joe 5th-A Almond Chocolate Blaha, Mike 5th-A Milk Chocolate Edwards, Linda 5th-A Almond Chocolate Parks, Ann 5th-B Crisp Chocolate Frankin, AI 5th-B Almond Chocolate Bell, Carol 6th-A Milk Chocolate QtyR1 Qtys1 Candy2 5 Crisp Chocolate 3 Crisp Chocolate 4 Crisp Chocolate 3 Sour Worms 5 Milk Chocolate wooo QtyR2Qtys2Candy3 5 5 Sour Worms 8 6 5 Sour Worms 4 Crisp Chocolate Supplier Supplier Number Name SUPPLIER Supplier Address Sales Rep Product Product Number Name SUPPLIES Product Category Unit Price Cruise Number CRUISE Start Date End Cruise Ship Date Director Number Supplier Product Cruise Number Number Number SUPPLIED Date Quantity Cost Ship Ship Number Name SHIP Ship Launch Gross Builder Date Weight Port Name Country PORT Number Port of Docks Manager Cruise Port Number Name CALLED ON Arrival Departure Date Date Country Passenger Passenger Number Name PASSENGER Home Telephone Address Number Group Contast Passenger Cruise Cabin Number Number Number SAILED Fare Tour Tour Number Name Duration TOUR Port Price Name County Cruise Passenger Number Number TOOK TOUR Tour Number Date CS 2500 Elementary School Candy Sales Database Design Problem The following table is an attempt to track the sale of candy by elementary school students. The sale is to raise money for a school trip. Each class could have several students attempting to sell candy they have received. Each student is given several units of candy (QtyR), and the amount of each that they have sold is recorded (Qtys). The system is to track the running total of candy received and sold. Individual allocations and sales of candy do not need to be recorded. Note that the sample data within the table shown below is an un-normalized, flat-file system. QtyR3 Qty S3 Student Class Candy1 Smith, Joe 5th-A Almond Chocolate Blaha, Mike 5th-A Milk Chocolate Edwards, Linda 5th-A Almond Chocolate Parks, Ann 5th-B Crisp Chocolate Frankin, AI 5th-B Almond Chocolate Bell, Carol 6th-A Milk Chocolate QtyR1 Qtys1 Candy2 5 Crisp Chocolate 3 Crisp Chocolate 4 Crisp Chocolate 3 Sour Worms 5 Milk Chocolate wooo QtyR2Qtys2Candy3 5 5 Sour Worms 8 6 5 Sour Worms 4 Crisp Chocolate Supplier Supplier Number Name SUPPLIER Supplier Address Sales Rep Product Product Number Name SUPPLIES Product Category Unit Price Cruise Number CRUISE Start Date End Cruise Ship Date Director Number Supplier Product Cruise Number Number Number SUPPLIED Date Quantity Cost Ship Ship Number Name SHIP Ship Launch Gross Builder Date Weight Port Name Country PORT Number Port of Docks Manager Cruise Port Number Name CALLED ON Arrival Departure Date Date Country Passenger Passenger Number Name PASSENGER Home Telephone Address Number Group Contast Passenger Cruise Cabin Number Number Number SAILED Fare Tour Tour Number Name Duration TOUR Port Price Name County Cruise Passenger Number Number TOOK TOUR Tour Number Date

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

PostgreSQL Up And Running A Practical Guide To The Advanced Open Source Database

Authors: Regina Obe, Leo Hsu

3rd Edition

1491963417, 978-1491963418

More Books

Students also viewed these Databases questions

Question

Define Management or What is Management?

Answered: 1 week ago

Question

What do you understand by MBO?

Answered: 1 week ago