Answer to Question #250391 in Databases | SQL | Oracle | MS Access for rosebud21

Question #250391

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.

how to code for the sales between that date only. please provide sample code. thank you

1
Expert's answer
2021-10-14T03:45:02-0400
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'

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS