By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
agent_id | travel_destination | customer_id | date_of_booking |
---|---|---|---|
A1001 | Singapore | C1001 | 2019-06-10 |
A1001 | Singapore | C1001 | 2019-06-11 |
A1001 | Austin | C1001 | 2019-06-12 |
A1001 | Singapore | C1001 | 2019-06-13 |
A1001 | Singapore | C1001 | 2019-06-14 |
A1001 | Dehli | C1001 | 2019-06-15 |
agent_id | travel_destination | first_date_of_booking | max_date_of_booking |
---|---|---|---|
A1001 | Singapore | 2019-06-10 | 2019-06-11 |
A1001 | Austin | 2019-06-12 | 2019-06-12 |
A1001 | Singapore | 2019-06-13 | 2019-06-14 |
A1001 | Dehli | 2019-06-15 | 2019-06-15 |