Basic SQL Query Request

select employee_id
, month
, sum(working_hour) as [monthly total of working hour]

from table_name
group by employee_id, month

Leave a Comment