Thanks for the response. I wasn't clear enough. I'm trying to create a new table with one record per county with 18 age-specific sums (looking like FIPS, age1, age2, age3 ... age18, with each ageN having a pop total for the M/F and race categories). To do this I need to logically do:
Code:
Sum(PopDetail06.Pop) AS Pop70
WHERE (((PopDetail06.AgeCat)=15))
Sum(PopDetail06.Pop) AS Pop75
WHERE (((PopDetail06.AgeCat)=16))
Sum(PopDetail06.Pop) AS Pop80
WHERE (((PopDetail06.AgeCat)=17))
/*etc. but it will not let me do this because it wants
INTO AllPop70
FROM PopDetail06
before the WHERE.
I've spent about six hours going through SQL Designer and SQL direct code window using three different books. All the books give is the single population code like what I gave and got to work. What I can't do is get one query to produce the single records for each county with all 18 population totals.
Since ultimately I'm going to be doing age, M/F, race specific populations for each of the 3100-odd counties, summing to BEA economic areas and then applying U.S. mortality rates to estimate the area's mortality if it experienced
national rates I can't even see how to finesse using Excel or somesuch.
Roger