barnettjacob
IS-IT--Management
In a similar vein to the question I posted yesterday, I need to look at achieving the same thing with a slightly different approach in that I actually want to update the Guest table with the first booking date from the Bookings table:
Bookings
- Booking ID
- Created Date
- Guest ID
Guests
- Guest ID (Unique)
Effectively what I need is the SQL that pulls the Created Date from the booking table into a column in the guest table for that respective guest.
Thanks in advance
Jacob
Bookings
- Booking ID
- Created Date
- Guest ID
Guests
- Guest ID (Unique)
Effectively what I need is the SQL that pulls the Created Date from the booking table into a column in the guest table for that respective guest.
Thanks in advance
Jacob