ms access - SQL - Structuring code for Group by and Sum in query -
ms access - SQL - Structuring code for Group by and Sum in query -
i appriciate ideas on how approach problem/function in sql code. please see attached image.
i need grouping absencecause, sum numdays according each absencecausegroup , displayed under each absenceemployeeid.
the goal accomplish new table like:
|absenceemployeeid|absencecause|numdays| | 081014002722|children | 9| | 081014002722|travel | 2|
thanks, joergen mathiesen
something ?
select absenceemployeeid, absencecause, sum(numdays) que_absence_days grouping absenceemployeeid, absencecause
sql ms-access database-design
Comments
Post a Comment