After reading the Writing Expectations Document (in the Course Resources area of the class site) and the chapter reading for this week----> see attachments
See this video:
do the following assignment:
Here is listing of the tables for the database for this assignment.
SELLERS(SellerNum, SellerLastName, SellerFirstName, SellerStreet, SellerCity, SellerState, SellerZip, CRate)
BUYERS(BuyerNum, BuyerLastName, BuyerFirstName, BuyerStreet, BuyerCity, BuyerState, BuyerZip, BonusLevel, SellerNum)
PRODUCTS(ProductNum, Description, NumberInStock)
STATEMENT(StatementNum, StatementDate, BuyerNum)
STATEMENTLINE(StatementNum, ProductNum, Quantity, ItemPrice)
Note: Please recall that the id numbers for each table are numeric (integer) value, the commission rate (Crate) and the ItemPer (individual quoted price per item) are numeric with 2 decimal places, and the quantity (quantity of the products ordered) and NumberInStock (number of items in stock) are numeric (integer) values. Additionally, the states use the common 2 character state abbreviation and the statement date is a date value. All other values are character values.
1) Using the above database schema, draw an entity relationship diagram using the Crows Feet notation. Justify, in writing, the decisions you make regarding minimum and maximum cardinalities.
Regarding the ERD, you can do it anyway that you want to but you need to put the diagram into a Word document. You can:
a) Draw it on paper, scan it, and insert it in your document, or
b) Use Word to create the diagram using shapes from the Insert menu.
c) Use Visio (download for free from the Azure site where you got Access) and insert the diagram into your document, or
d) Use MySQL and insert the diagram into your document (Download and install MySQL Workbench).
Additionally, respond to the following questions:
2) Write a SQL statement to list all of the buyers' first and last names that live in Alaska, Delaware, Florida, Michigan, or Wyoming.
3) Write a SQL statement to display the different cities that sellers live in -- only one of each city.
4) Write an SQL statement to display the seller's first and last names that is assigned to each buyer (you should list the buyer's name and their assigned seller's name).
This assignment is worth 50 points. Include your name and the original questions directly followed by the responses for the question – question 1, response 1, question 2, response 2, etc. DO NOT bother turning this in if you cannot or will not follow these instructions – it will not be accepted. Type your answers into a word processing document (Word or rtf format), save the file on your computer (name it, "Chapter4", come back to this page, click on the 'Browse" button at the bottom, find your file, and then click on the upload button to submit it.
Get Free Quote!
259 Experts Online