I'm stumped. the db schema involved looks like this...
4 tables as follows:
Hotels
------
ID
Name
|
|
8
HotelBooking
-------------
ID
HotelID
|
|
8
GuestLink
---------
ID
HotelBookingID
GUESTID
8
|
|
Guests
------
ID
FName
LName
I need to get a record set of all the bookings at a particular hotel.
which seems is straight forward enough until you realise that one or more guests can be sharing a booking (e.g. husband & wife) and I need to list them too (comma seperated)!
any ideas? my brain is hurting
K
4 tables as follows:
Hotels
------
ID
Name
|
|
8
HotelBooking
-------------
ID
HotelID
|
|
8
GuestLink
---------
ID
HotelBookingID
GUESTID
8
|
|
Guests
------
ID
FName
LName
I need to get a record set of all the bookings at a particular hotel.
which seems is straight forward enough until you realise that one or more guests can be sharing a booking (e.g. husband & wife) and I need to list them too (comma seperated)!
any ideas? my brain is hurting
K