subject

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.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 16:30
You have inserted new slides based on a word outline. how do you format these new slides to match the powerpoint presentation formatting? a. select all slides in the presentation and click format on the home tab. b. select the new slides and click reset on the home tab. c. select all slides in the presentation and click reset on the home tab. d. select the new slides and click format on the home tab.
Answers: 2
question
Computers and Technology, 23.06.2019 02:00
Read this excerpt from helen keller’s autobiography, the story of my life. have you ever been at sea in a dense fog, when it seemed as if a tangible white darkness shut you in, and the great ship, tense and anxious, groped her way toward the shore with plummet and sounding-line, and you waited with beating heart for something to happen? i was like that ship before my education began, only i was without compass or sounding-line, and had no way of knowing how near the harbour was. "light! give me light! " was the wordless cry of my soul, and the light of love shone on me in that very hour. . the morning after my teacher came she led me into her room and gave me a doll. the little blind children at the perkins institution had sent it and laura bridgman had dressed it; but i did not know this until afterward. when i had played with it a little while, miss sullivan slowly spelled into my hand the word "d-o-l-l." i was at once interested in this finger play and tried to imitate it. when i finally succeeded in making the letters correctly i was flushed with childish pleasure and pride. running downstairs to my mother i held up my hand and made the letters for doll. i did not know that i was spelling a word or even that words existed; i was simply making my fingers go in monkey-like imitation. in the days that followed i learned to spell in this uncomprehending way a great many words, among them pin, hat, cup and a few verbs like sit, stand and walk. based on this excerpt, which words best describe helen keller?
Answers: 2
question
Computers and Technology, 23.06.2019 19:30
Of the following pieces of information in a document, for which would you most likely insert a mail merge field?
Answers: 3
question
Computers and Technology, 24.06.2019 17:30
Match the following. 1. formatting that is applied when cell data meets certain criteria 2. borders with formats not found on the border tool 3. a shortcut bar that contains tools for commonly used formats 4. formats that can be applied to numbers conditional formatting custom borders format bar number formats
Answers: 3
You know the right answer?
Use mysql workbench to create an eer model from the script file named create_my_guitar_shop. sql tha...
Questions
question
Mathematics, 03.05.2021 04:20
question
Mathematics, 03.05.2021 04:20
question
Mathematics, 03.05.2021 04:20
question
Mathematics, 03.05.2021 04:20
question
Mathematics, 03.05.2021 04:20