K
Kpatel
I have a table with the following data:
Job# Weight StartDate EndDate
12345 1000 9/1/06 9/3/06
67890 500 9/1/06 9/5/06
Following is the result that I am looking for
Date SumOfWeight
9/1/06 1500 (this would be total of job 12345 & 67890)
9/2/06 1500 (this would be total of job 12345 & 67890)
9/3/06 1500 (this would be total of job 12345 & 67890)
9/4/06 1000 (this would be total of job 67890 and
12345 has ended)
9/5/06 1000 (this would be total of job 67890 and
12345 has ended)
Could anyone tell me how can I make my query do this? Any help will be
greatly appreciated. Do let me know if you need any further details.
Job# Weight StartDate EndDate
12345 1000 9/1/06 9/3/06
67890 500 9/1/06 9/5/06
Following is the result that I am looking for
Date SumOfWeight
9/1/06 1500 (this would be total of job 12345 & 67890)
9/2/06 1500 (this would be total of job 12345 & 67890)
9/3/06 1500 (this would be total of job 12345 & 67890)
9/4/06 1000 (this would be total of job 67890 and
12345 has ended)
9/5/06 1000 (this would be total of job 67890 and
12345 has ended)
Could anyone tell me how can I make my query do this? Any help will be
greatly appreciated. Do let me know if you need any further details.