M
Michael Kucan
I was hoping to get some help. I need a "pure SQL" solution (no VBA) to the
following challenge:
My customers have products for which they are charged a monthly fee. They
can have more than one product active at one time. I need a query that shows
the begging and end date for the product with the largest monthly fee. For
example:
Product Eff Dt End DT Monthly Fee
A 01/01/2007 12/31/2007 $40
B 05/01/2007 07/15/2007 $70
I need the following output:
Product Eff Dt End Dt Monthly Fee
A 01/01/2007 04/30/2007 $40
B 05/01/2007 07/15/2007 $70
A 07/16/2007 12/31/2007 $40
Any ideas?
following challenge:
My customers have products for which they are charged a monthly fee. They
can have more than one product active at one time. I need a query that shows
the begging and end date for the product with the largest monthly fee. For
example:
Product Eff Dt End DT Monthly Fee
A 01/01/2007 12/31/2007 $40
B 05/01/2007 07/15/2007 $70
I need the following output:
Product Eff Dt End Dt Monthly Fee
A 01/01/2007 04/30/2007 $40
B 05/01/2007 07/15/2007 $70
A 07/16/2007 12/31/2007 $40
Any ideas?