Table design and relationships

Assignment Help Basic Computer Science
Reference no: EM131470267

Sparkle Diamonds Project - I need the following created in MySQL only!

The table design and relationships must support the following functionality:

Customers - Each customer is assigned a unique customer number but may have multiple locations to ship to. The sales team needs to be able to select the customer and the location for preparing sales orders.

Inventory Table - The sales team will want to query the inventory to find diamonds that meet the following specifications of their customers:

Cost - what SD has paid for the stone

Price - what SD will sell the stone for

Carat - weight

Clarity - clarity scale for diamonds offered are IF, VVS1, VVS2, VS1, VS2*

Cut - cut scale for diamonds offered are Excellent, Very Good, Good

Color - color scale for diamond offered are D, E, F, G, H, I, J*

Order Table - The sales team will want to prepare a sales order for existing customers and sell only diamonds that are in inventory. The DBMS must be designed such that customers can purchase multiple stones on one sales order.

*Diamond Scale Reference*

Clarity:

IF- Internally Flawless

VVS1 - Very, very slightly included (pavilion)

VVS2 - Very, very slightly included (crown)

VS1 - Very slightly included (under 10X magnification)

VS2 - Very slightly included (to the naked eye)

Color:

D, E, F - Colorless - color between D, E, and F diamonds can be detected only by a gemologist in side by side comparisons, and rarely by the untrained eye

G, H, I, J, K - Near Colorless - diamonds color rated by a gemologist

Populate each table with at least ten data records that would support the user's functional requirements.

Execute the following queries in the Diamond Broker database:

Create an 1-page inventory list showing all the attributes for each diamond in inventory (both in stock and not in stock)

Show the total price and costs for all in stock inventory items

Show a 1-page list of all diamonds that are in stock and have a carat weight of over 1.0 carats

Show a 1-page list of customer names and order numbers for those customers that have placed an order in the past twelve months

Show a 1-page list of all orders with customer name and include all items that are on that order

Compress the output of the queries including all of the scripts to create the database tables, to establish keys and constraints, to populate data within the database, and queries into a single ZIP folder.

So to recap, I need the tables created, ten data records per table added then the queries ran. MySQL will not run on my machine, so I will need the model and query files and scripts for this assignment. Bonus to anyone that can complete this in the next five hours.

Reference no: EM131470267

Questions Cloud

Write a research-based blog post for a hrm website : Discuss one of the major personality theories and how this theory is used to conduct assessment.
What is business ethics and public opinion : Business Ethics and Public Opinion. Assume that you are a high-level manager for a shoe manufacturer. You know that your firm could increase its profit margin.
Analyse the impact of technology on communication : Critically analyse the impact of technology on communication skills in the workplace. Communication is an art not a skill. Critically analyse the statement
Define ethical decision making : Ethical Decision Making. Shokun Steel Co. owns many steel plants. One of its plants is much older than the others. Equipment at that plant is outdated.
Table design and relationships : The table design and relationships must support the following functionality:
Write a program that asks the user for a letter : Write a program that asks the user for a letter - This function will take as input the original letter input by the user so that it can be included in the output sentence.
User to specify an input file and output file : Write a program (project) that asks the user to specify an input file and output file. Have the program read each line in the input file to find the smallest.
Describe biodiversity and how it is measured : Explain biodiversity and how it is measured. Identify the techniques that humans can utilize to ensure conservation of ecosystems.
What are the specific training or education requirements : What other qualifications are needed? Does the career demand a certain trait. skill or aptitude that I do or do not have - What are the specific training or education requirements?

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Identifies the cost of computer

identifies the cost of computer components to configure a computer system (including all peripheral devices where needed) for use in one of the following four situations:

  Input devices

Compare how the gestures data is generated and represented for interpretation in each of the following input devices. In your comparison, consider the data formats (radio waves, electrical signal, sound, etc.), device drivers, operating systems suppo..

  Cores on computer systems

Assignment : Cores on Computer Systems:  Differentiate between multiprocessor systems and many-core systems in terms of power efficiency, cost benefit analysis, instructions processing efficiency, and packaging form factors.

  Prepare an annual budget in an excel spreadsheet

Prepare working solutions in Excel that will manage the annual budget

  Write a research paper in relation to a software design

Research paper in relation to a Software Design related topic

  Describe the forest, domain, ou, and trust configuration

Describe the forest, domain, OU, and trust configuration for Bluesky. Include a chart or diagram of the current configuration. Currently Bluesky has a single domain and default OU structure.

  Construct a truth table for the boolean expression

Construct a truth table for the Boolean expressions ABC + A'B'C' ABC + AB'C' + A'B'C' A(BC' + B'C)

  Evaluate the cost of materials

Evaluate the cost of materials

  The marie simulator

Depending on how comfortable you are with using the MARIE simulator after reading

  What is the main advantage of using master pages

What is the main advantage of using master pages. Explain the purpose and advantage of using styles.

  Describe the three fundamental models of distributed systems

Explain the two approaches to packet delivery by the network layer in Distributed Systems. Describe the three fundamental models of Distributed Systems

  Distinguish between caching and buffering

Distinguish between caching and buffering The failure model defines the ways in which failure may occur in order to provide an understanding of the effects of failure. Give one type of failure with a brief description of the failure

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