Hi, I want to have a query which is attempting to find a list of customers who haven't make a booking for 6 months. Each customer has a separate ID, they make a booking are each stored in a Booking ID table.
I currently have it so that the Departure date is set to <Date()-180, meaning that all bookings before 180 days ago are shown, however I can't work out how to get it so that either Customer ID or Booking ID would only show the last booking made by the customer, which would not show any records from customers who have made bookings in the last 6 months. Would really appreciate help on this.
If I haven't worded this well please let me know and I'll include any other information you need.
Thanks.
I currently have it so that the Departure date is set to <Date()-180, meaning that all bookings before 180 days ago are shown, however I can't work out how to get it so that either Customer ID or Booking ID would only show the last booking made by the customer, which would not show any records from customers who have made bookings in the last 6 months. Would really appreciate help on this.
If I haven't worded this well please let me know and I'll include any other information you need.
Thanks.