PRACTICAL: Question 5 (Marks: 10)
Create a view called vwPetSalesDetails that will display the customer id, pet id, pet price and sales date. In your solution only display the sales that occurred between 15 March 2020 and 18 March 2020.
CREATE VIEW vwPetSalesDetails AS
SELECT customer id, pet id, pet price and sales date
FROM tables
WHERE sales date between '5 March 2020' and '18 March 2020'
Comments
Leave a comment