|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
SELECT [IMTAnsatte].[Ansatt type], Count([IMTAnsatte].[Ansatt type]) AS [CountOfAnsatt type]
FROM IMTAnsatte GROUP BY [IMTAnsatte].[Ansatt type]; Above is from a query made in access. In addition I'd like Access to make a summary of all the counts at the bottom. Anybody know what I'm talking about? thank you in advance mr_friend |
|
#2
|
|||
|
|||
|
SELECT [IMTAnsatte].[Ansatt type], Count([IMTAnsatte].[Ansatt type]) AS [CountOfAnsatt type]
FROM IMTAnsatte GROUP BY [IMTAnsatte].[Ansatt type] UNION SELECT "SUM" AS [Ansatt type], Count([IMTAnsatte].[Ansatt type]) AS [CountOfAnsatt type] FROM IMTAnsatte; Try this, You may have to play with teh syntax a little or the order S- |
|
#3
|
|||
|
|||
|
access, query, sum
sbaxter,
Thank you It worked very well. Sincerely mr_friend ![]() |
![]() |
| Viewing: ASP Free Forums > Database > Microsoft Access Help > access, query, sum |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|