Microsoft Access Query - 5 minute tutorial - learn how to sum data from multiple tables

preview_player
Показать описание
In this video I show you how to do a query in Microsoft Access that sums data from multiple tables and columns.
Рекомендации по теме
Комментарии
Автор

But that annoying parameter window pops up. Secondly how to use condition to the query like Sum (FieldName) WHERE EmpID = And Country = " ". Like this.

satyabanukil
Автор

I have a table as follow:

Empl Dates Hour Sum of Hours

Emp1 date1 8
Emp1 date2 5
Emp1 date3 4
Emp2 date1 1
Emp2 date2 3
Emp2 date3 5
....
How do I sum hours for employees and place the sum value on each rows of in MSAccess Query and not the SQL or VBA? like

Empl Dates Hour Sum of Hours
Empl1 date1 8 17
Empl1 date2 5 17
Empl1 date3 4 17
Empl2 date1 1 9
Empl2 date2 3 9
Empl2 date3 5 9
and so on.

santoshadhikari
Автор

hey there..
first of all great way of explanation ..
second
I have one table but 4 columns
its working shifts
1st shift is from
(8 am) to (12:30 pm)
2nd shift is from
(5 pm) to ( 9:30)
I need the total hours of working ..
could you please tell me how to do it ..?
or type your whatsapp NO.

mahmoodsheikh
Автор

The math is incorrect!! Look at each column in the table and do the math, then look at the query and you will see the total is much higher in the query.

Wagdygeogy