Step 1 (30 points): Write create statements for each of the above tables, making sure to have appropriate data types and with all keys declared.
Step 2 (15 points): Create insert statements to populate your tables – you get to come up with the data! Make sure you have at least 15 tuples in Item, 3 in Departments, and 7 in Occasions.
Step 3 (45 points – 5 points for each query): Now create SQL statements to answer the following questions. Each must be answered in a single query. IMPORTANT: your query must work correctly even if the data in your tables is changed!
1. List all the information stored in the occasion table.
2. List the id and name for all departments that begin with a letter H.
3. List all the item information for all items with no color specified.
4. Show all occasions that are from 2020 or are not seasonal.
5. For each item that costs more than $9.99 show the name of the item, its description, the name of its department, and its cost.
6. Update the Item tables so that all items associated with occasions with the year of 2020 are now on clearance. (Hint: You will need to use an update statement.)
7. Update the Item tables so that all items on clearance are now 10% less. (Hint: You will need to use an update statement and remember that you can do arithmetic in an update statement.)
8. For each occasion, show the names and total quantity of items in stock.
9. For all items whose types are in the “outdoor” department and its color is “green”, show the occasion name and the average year it was released.
Step 4 (10 points):
Reflecting on the material in this chapter and your work on this assignment, what insight does this give you into how databases can power digital dashboards & reports?
CS 340 Milestone One Guidelines and Rubric Overview: For this assignment, you will implement the fundamental operations of create, read, update,
Retail Transaction Programming Project Project Requirements: Develop a program to emulate a purchase transaction at a retail store. This
7COM1028 Secure Systems Programming Referral Coursework: Secure
Create a GUI program that:Accepts the following from a user:Item NameItem QuantityItem PriceAllows the user to create a file to store the sales receip
CS 340 Final Project Guidelines and Rubric Overview The final project will encompass developing a web service using a software stack and impleme