By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
464,773 Members | 961 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 464,773 IT Pros & Developers. It's quick & easy.

Combining Data from two queries

P: 34
Hi, i hope someone can help me with this problem, i have been racking my brain for quite a while.
I have two queries, both of which produce a four column table.
Query A : site, dept, team, error a
Query B : site, dept, team, error b
I need to write a query which has the end result:
Query C : site, dept, team, error a, error b
However i cannot take the 'site,dept,team' information from just one table as there is info in one that is not in the other.

Has anyone got any ideas?
Query A produces:
site dept team error a
a b c 5
a b c1 10
b b1 c5 15
Query B produces:
site dept team error b
a b c 10
b b1 c5 3
b b2 c 5
Query C needs to produce:
site dept team error a error b
a b c 5 10
a b c1 10 0
b b1 c5 15 3
b b2 c 0 5
May 22 '07 #1
Share this Question
Share on Google+
1 Reply

Expert Mod 15k+
P: 31,770
You have posted this question in the Access Articles section.
I will move it to the Access Forum for you.
Good luck with your question.

May 23 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.