Computers and Technology
Computers and Technology, 27.11.2019 23:31, Jade1214

Use mysql workbench to create an eer model from the script file named create_my_guitar_shop. sql that’s in the mgs_ex_starts folder. from the model, create an eer diagram that shows the relationships between the seven tables in the database. (the administrators table is not related to the other six tables.) 2. use mysql workbench to create an eer diagram for a database that stores information about the downloads that users make. each user must have an email address, first name, and last name. each user can have one or more downloads. each download must have a filename and download date/time. each product can be related to one or more downloads. each product must have a name. 3. use mysql workbench to open the eer diagram that you created in exercise 2. then, export a script that creates the database and save this script in a file named ex10-3.sql. next, use mysql workbench to open this file and review it. 4. write a script that adds an index to the my_guitar_shop database for the zip code field in the customers table. 5. write a script that implements the following design in a database named my_web_db: in the downloads table, the user_id and product_id columns are the foreign keys. include a statement to drop the database if it already exists. include statements to create and select the database. include any indexes that you think are necessary. specify the utf8 character set for all tables. specify the innodb storage engine for all tables. write a select statement that joins the three tables and retrieves the data from these tables like this: sort the results by the email address in descending sequence and the product name in ascending sequence. 6. create a view named order_item_products that returns columns from the orders, order_items, and products tables. this view should return these columns from the orders table: order_id, order_date, tax_amount, and ship_date. this view should return these columns from the order_items table: item_price, discount_amount, final_price (the discount amount subtracted from the item price), quantity, and item_total (the calculated total for the item). this view should return the product_name column from the products table. 7. create a view named product_summary that uses the view you created in exercise 6. this view should return summary information about each product. each row should include product_name, order_count (the number of times the product has been ordered) and order_total (the total sales for the product). 8. write a select statement that uses the view that you created in exercise 7 to get total sales for the five best selling products.

answer
Answers: 1

Other questions on the subject: Computers and Technology

image
Computers and Technology, 23.06.2019 06:30, QueeeenUknown7437
How do you write an argumentative essay about the importance of free enterprise ?
Answers: 1
image
Computers and Technology, 23.06.2019 17:00, chrisgaz14
The more powerful, 60 volt cables and the main power shut off on an hev are both colored orange
Answers: 1
image
Computers and Technology, 23.06.2019 19:00, amayax77
Write a program that displays the following menu: geometry calculator 1. calculate the area of a circle 2. calculate the area of a rectangle 3. calculate the area of a triangle 4. quit enter your choice (1-4): if the user enters 1, the program should ask for the radius of the circle and then display its area. use the following formula: area = ď€(the square of r) use 3.14159 for ď€ and the radius of the circle for r. if the user enters 2, the program should ask for the length and width of the rectangle and then display the rectangle’s area. use the following formula: area = length * width if the user enters 3, the program should ask for the length of the triangle’s base and its height, and then display its area. use the following formula: area = base * height * .5 if the user enters 4, the program should end. input validation: display an error message if the user enters a number outside the range of 1 through 4 when selecting an item from the menu. do not accept negative values for the circle’s radius, the rectangle’s length or width, or the triangle’s base or height. note: if the user enters an improper menu choice (1-4), the program prints "the valid choices are 1 through 4. run the program again and select one of those." if the user enters a negative radius, the program prints "the radius can not be less than zero." if the user enters a negative value for height or base, the program prints "only enter positive values for base and height."
Answers: 1
image
Computers and Technology, 24.06.2019 09:10, daedae11142
  to change the number of rows and columns displayed by the excel object a. select the object and drag a size handle on the active object. b. deselect the object and drag a size handle of the object. c. deselect the object and drag a row or column divider of the object. d. select the object and drag a row or column divider on the active object.
Answers: 2
Do you know the correct answer?
Use mysql workbench to create an eer model from the script file named create_my_guitar_shop. sql tha...

Questions in other subjects: