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

  Iidentify primary types of media employed

For the network that you have chosen to characterize for this class, identify the primary types of media employed. Be sure to include both how the computers individually connect.

  Calculate the volume of activity that the company

Calculate the optimal production each of for the four products by taking into account the available labor hours and the estimates of the marketing department.

  Banner advertising on web sites trigger realization

Banner advertising on Web sites helps trigger realization that there is gap between reality and desired state which occurs in?

  Did the city make the right decision to left town

Aabout 300,000 bills would have had to have been examined. Some residents left town, and the individual refunds were not that large. Did the city make the right decision?

  Important ideas for legislators to get from your testimony

Suppose the legislature in your state is debating the adoption of UCITA. What are the three most important ideas you want your legislators to get from your testimony?

  It delivers value

Identify and explain the COBIT framework for IT governance to safeguard daily operations, audit and performance mechanism, and its role in managing data retention, archive, and destruction. Include the need to plan and organize domain control obje..

  Write a recursive method that will calculate nth fibonacci

Fibonacci numbers are really fascinating and turn up in many unexpected places. They are also a good example of recursion. write a recursive method that will calculate the nth Fibonacci number. Now write a method that will do it iteratively.

  What is an entrance-controlled loop

Which of C++'s repetition statements produce entrance-controlled loops?

  What is optimal strategy if n is known

Consider the numerical 20 questions game. In this game, player 1 thinks of a number in the range 1 to n. Player 2 What is an optimal strategy if n in known?

  Is there any indication that a transformation is required

Suppose that the fraction abc = 189, ce = 96, bcd = 154, acde = 135, abe = 193, bde = 152, ad = 137, and (1) = 98 was run. How was this fraction obtained? Add this data to the original fraction and estimate the effects.

  Why would this implementation be better than original one

If there were more passes than fails, why would this implementation be better than the original one?

  What data management issues would you have

Suppose you are a data administrator for a large European pharmaceutical manufacturer that has significant sales and marketing efforts in Europe, Japan, and the United States. What data management issues would you have to be most concerned with?

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