S
shtuks
Hi,
I have four columns in my table. First is ID (Number), second DATE
(DATE/TIME), third TIME (Text) and the fourth AMOUNT (Number).
My table looks something like this:
123 || 5.7.2006 || 07:15 || 35
232 || 8.7.2006 || 07:39 || 45
234 || 8.7.2006 || 07:43 || 21
432 || 9.7.2006 || 07:55 || 23
....
I'am trying to make two queries but I still didn't find the way to do
it propertly.
First I want to make sum of all amounts for period from 5.7.2006. to
9.7.2006. (include those two dates). I had some problems with date
format and I stopped there so I need your help to do that.
Other query is little more complicated. For every day in month I must
make sum of amounts for every specific time period (2 hours).
For date 8.7.2006., sum for period from 7:00 to 9:00 is 66 and so on...
I hope that I was clear enoguh and that there will be someone to help
me.
Thx
I have four columns in my table. First is ID (Number), second DATE
(DATE/TIME), third TIME (Text) and the fourth AMOUNT (Number).
My table looks something like this:
123 || 5.7.2006 || 07:15 || 35
232 || 8.7.2006 || 07:39 || 45
234 || 8.7.2006 || 07:43 || 21
432 || 9.7.2006 || 07:55 || 23
....
I'am trying to make two queries but I still didn't find the way to do
it propertly.
First I want to make sum of all amounts for period from 5.7.2006. to
9.7.2006. (include those two dates). I had some problems with date
format and I stopped there so I need your help to do that.
Other query is little more complicated. For every day in month I must
make sum of amounts for every specific time period (2 hours).
For date 8.7.2006., sum for period from 7:00 to 9:00 is 66 and so on...
I hope that I was clear enoguh and that there will be someone to help
me.
Thx