Scott_Withey
Registered User.
- Local time
- Today, 00:44
- Joined
- Jul 30, 2004
- Messages
- 14
Union Queries
Hi everybody, thanks for your help,
I've writtena union query, which combnes fields from two tables and merges them into one.
The SQL is:-
select tblApplication.[ApplicantID], tblApplication.[Application Pack Sent], tblApplication.[Candidate Withdrew], tblApplication.[Application Pack Received], tblApplication.[NFUM - rejected], tblApplication.[Invited to Assessment Centre], tblApplication.[Offer]
from tblapplication
UNION select tblArchiveNFA.[ApplicantID], tblArchiveNFA.[Application Pack Sent], tblArchiveNFA.[Candidate Withdrew], tblArchiveNFA.[Application Pack Received], tblArchiveNFA.[NFUM - rejected], tblArchiveNFA.[Invited to Assessment Centre], tblArchiveNFA.[Offer]
from tblArchiveNFA;
Does anyone know how I could merge a further field into this union query. This field [Date Info Received] would be merged from a separate table (one not used above 'tblApplicant') with data from a table used above'tblArchiveNFA)
What do you think? Can this be done
Thanks
Scott
Hi everybody, thanks for your help,
I've writtena union query, which combnes fields from two tables and merges them into one.
The SQL is:-
select tblApplication.[ApplicantID], tblApplication.[Application Pack Sent], tblApplication.[Candidate Withdrew], tblApplication.[Application Pack Received], tblApplication.[NFUM - rejected], tblApplication.[Invited to Assessment Centre], tblApplication.[Offer]
from tblapplication
UNION select tblArchiveNFA.[ApplicantID], tblArchiveNFA.[Application Pack Sent], tblArchiveNFA.[Candidate Withdrew], tblArchiveNFA.[Application Pack Received], tblArchiveNFA.[NFUM - rejected], tblArchiveNFA.[Invited to Assessment Centre], tblArchiveNFA.[Offer]
from tblArchiveNFA;
Does anyone know how I could merge a further field into this union query. This field [Date Info Received] would be merged from a separate table (one not used above 'tblApplicant') with data from a table used above'tblArchiveNFA)
What do you think? Can this be done
Thanks
Scott