J
JT
I am using a union query to join three tables with the same structure. The
tables are named "H_F", "B_D", and "Croydon". I have used the following SQL
syntax:
Select * from [B_D] UNION ALL
Select * from [Croydon] UNION ALL
Select * from [H_F]
As part of the query I would like to add a field saying which table each of
the rows originated from. Would any of you be able to help me with this?
tables are named "H_F", "B_D", and "Croydon". I have used the following SQL
syntax:
Select * from [B_D] UNION ALL
Select * from [Croydon] UNION ALL
Select * from [H_F]
As part of the query I would like to add a field saying which table each of
the rows originated from. Would any of you be able to help me with this?