hello
i have two tables
1- stuff (contains personal information and a field named days off)
2- days_off
in the second table i just put the id of the customer with the number of day off
for example
1 4
1 2
4 1
3 10
so what i want is to get the total of days off from days_off table in the days_off field in the stuff table
any help??
i have two tables
1- stuff (contains personal information and a field named days off)
2- days_off
in the second table i just put the id of the customer with the number of day off
for example
1 4
1 2
4 1
3 10
so what i want is to get the total of days off from days_off table in the days_off field in the stuff table
any help??