Merging two tables and totalling

001519

New member
Local time
Yesterday, 20:59
Joined
Feb 3, 2006
Messages
6
Ok, I have a problem. I have two tables with different data pulled from two different areas, but that have the same type of information in them. I need them merged into one query or table so it can be exported into excel.

The problem is that one table has data only once (has a primary key, then things by building and grade). The other table has it's primary key, but then could have more then one building and grade combination (i.e. building 1050 grade 8 membership of 10 more then once becuase off another factor).

I need to merge this stuff by query of some kind into another query or table that totals all things with the same primary key, building and grade. So there is only one line for xxx-xxx building 1050 grade 8 with the grand total of membership for all.

How do I do that?
 
It sounds link you have a 1 to many relationship. so you just have to select the right sort of join. the table with the once only data will produce replicate info for the matching records in the multiple table. If you try them all (3) you will have a solution?
 

Users who are viewing this thread

Back
Top Bottom