HI all..
I am having two tables
Tab1 :
sales Date
5 29/01/2010
8 31/01/2010...
Tab2 :
Start_Date End Date
29/01/2010 05/02/2010
06/02/2010 19/02/2010...
Need to get the sum of sales for each set of date limits!
Thanks in advance
sum of a column in between two limits
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
-
- Participant
- Posts: 3337
- Joined: Mon Jan 17, 2005 4:49 am
- Location: United Kingdom
Need to query it and load it to DW table.. To make the situation simple and understandable , i didnot metion it!!Sainath.Srinivasan wrote:I don't see how having them in different database makes it an ETL requirement.
If the result will be presented in a report, it is still a reporting requirement.
You can use dblinks in Database l ...
Ray,
I will try range Lookup.
RAJ
Roll your eyes all you want but you are doing yourself a disservice making your situation "simpler" by leaving out critical bits of information needed to supply a proper solution. Next time - complete, not simple. Mention it. Please.gssr wrote:Need to query it and load it to DW table.. To make the situation simple and understandable , i didnot metion it!!
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers