Question
USE SYNTAX TO ANSWER THE FOLLOWING. Insert sample data from Figure 4a to Figure 4d to corresponding table (2 points). Write an UPDATE statement to
USE SYNTAX TO ANSWER THE FOLLOWING.
Insert sample data from Figure 4a to Figure 4d to corresponding table (2 points).
Write an UPDATE statement to change values of ITEM.ItemDescription from Desk Lamp to Desk Lamps (2 points).
Write an SQL statement to create a view called SaleSummaryViewthat contains SALE.SaleID, SALE.SaleDate, SALE_ITEM.SaleItemID, SALE_ITEM.ItemID, ITEM.ItemDescription, and ITEM.ItemPrice (3 points).
Write an SQL statement to create a trigger called ValidItemthat limits possible ItemDescription insert to Antique Desk, Antique Desk Chair, Dining Table Linens, Candles, and Desk Lamp(3 points).
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started