Hello everybody. I am in a mess. I am unable to retrieve data from three tables. Please advise.
I have 3 tables in access. None of them has a primary key.
Table 1
Passenger surname
Passenger other name
flight number
Table 2
Passenger surname
Passenger Other name
Offence
tablename
Table 3
Passenger surname
Passenger Other name
Offence
tablename
I understand that there should be a primary key for each table, but there is no such key in any table.
Table 1 is dynamic, meaning that there could be a number of flight landing in a day
Table 2 and 3 are static
I wish to pass a query so that I could generate a list containing the surname and other information of passengers matching either table 1 or table 2
The expected result may appear like this
Surname | Oname | Offence | Tablename
Tom | J | x | Table1
Tom | J | y | Table2
Tom | w | r | Table1
Arnaud | J | y | Table2
Brown | d | s | Table1
Brown | d | y | Table2
Please help me out.......
I have 3 tables in access. None of them has a primary key.
Table 1
Passenger surname
Passenger other name
flight number
Table 2
Passenger surname
Passenger Other name
Offence
tablename
Table 3
Passenger surname
Passenger Other name
Offence
tablename
I understand that there should be a primary key for each table, but there is no such key in any table.
Table 1 is dynamic, meaning that there could be a number of flight landing in a day
Table 2 and 3 are static
I wish to pass a query so that I could generate a list containing the surname and other information of passengers matching either table 1 or table 2
The expected result may appear like this
Surname | Oname | Offence | Tablename
Tom | J | x | Table1
Tom | J | y | Table2
Tom | w | r | Table1
Arnaud | J | y | Table2
Brown | d | s | Table1
Brown | d | y | Table2
Please help me out.......
Comment