K
KIERAN
I have a database recording bookings for flights from a
website.To establish a primary key in each table, i've
had to use multiple fields. e.g. In the table PNR
(passenger name record), the primary key
is "rec_loc","type" & "modified_date". In the table
PNR_PAX the primary key is "rec_loc", "modified_date"
& "ticket_number"
I need some advise on the best way to link these tables
and what type of relationships to create.
Currently if I run any queries I seem to be getting a lot
of duplicate records.
website.To establish a primary key in each table, i've
had to use multiple fields. e.g. In the table PNR
(passenger name record), the primary key
is "rec_loc","type" & "modified_date". In the table
PNR_PAX the primary key is "rec_loc", "modified_date"
& "ticket_number"
I need some advise on the best way to link these tables
and what type of relationships to create.
Currently if I run any queries I seem to be getting a lot
of duplicate records.