Question: SQL Adventure Tours database is shown below. You need to archive all Reservations if trips occurred before Jan-1, 2016. Similarly, if a Customer's last Reservation

SQL

Adventure Tours database is shown below. You need to archive all Reservations if trips occurred before Jan-1, 2016.

Similarly, if a Customer's last Reservation occurred before Jan-1, 2016 , archive them as well. Assume the Trips and Guides remain current, and don't need archiving.

Guide (GuideNum, LastName, Firstname)

Trip (TripID, TripName, Location, State, Type, Season)

Customer (CustomerNum, CustomerName)

Reservation (ReservationID, TripID, TripDate, NumPersons, TripPrice, CustomerNum)

TripGuides (TripID, GuideNum)

Questions:

1. Create a view that will be used to archive Reservation table

2. Create a view that will be used to archive Customer table

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!