Answer:
CREATE VIEW [product_summary] AS
SELECT product_id , order_count , order_total FROM Product;
SELECT * FROM [product_summary] ;
Step-by-step explanation:
- First of all, use the CREATE VIEW syntax to create a view named product_summary that includes the product_id, order_count, order_total columns and returns the summary information about each product.
- Use SELECT statement to return all the columns from the product_summary view.