Question: Write an SQL statement to create a view named CustomerSalesView based on the the CUSTOMER_04 and SALE_02 tables. In this view, include the values of
Write an SQL statement to create a view named CustomerSalesView based on the the CUSTOMER_04 and SALE_02 tables. In this view, include the values of Customer ID, LastName as CustomerLastName, FirstName as CustomerFirstName, EmailAddress, SaleID, DateOfSale, and SaleAmount in that order. Run this statement to create the view, and then test the view by writing and running an appropriate SQL SELECT statement.
Step by Step Solution
3.42 Rating (171 Votes )
There are 3 Steps involved in it
For Microsoft SQL Server Oracle Database and MySQL 56 Note t... View full answer
Get step-by-step solutions from verified subject matter experts
