Link to home
Create AccountLog in
Avatar of zimmer9
zimmer9Flag for United States of America

asked on

Is there a way to expand the following SQL Statement to get a total record count using MS Access 2003 or do I need to perform another separate SELECT statement?

Is there a way to expand the following SQL Statement to get a total record count using MS Access 2003 or do I need to perform another separate SELECT statement?

SELECT Bank, count(*)
FROM tblOpenItems
GROUP BY bank;
Avatar of jerryb30
jerryb30
Flag of United States of America image

Are you wanting a total count of records in tblOpenItems, or some type of running count?
Avatar of zimmer9

ASKER

count of records in tblOpenItems
ASKER CERTIFIED SOLUTION
Avatar of jerryb30
jerryb30
Flag of United States of America image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Avatar of rg20
select bank, c, sum(c) from (
SELECT Bank, count(*) as c
FROM tblOpenItems
GROUP BY bank
)
SOLUTION
Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.