Home All Groups Group Topic Archive Search About
Author
15 Sep 2006 1:14 PM
atatum
I need some query help and I would really appreciate any help. Below is
my query:

Select AdminAdvertiserList.Company, AdminAdvertiserList.City,
AdminAdvertiserInvoices.[Contract Date], AdminAdvertiserInvoices.[Start
Date], AdminAdvertiserInvoices.[End Date],
AdminAdvertiserInvoices.Amount,
AdminAdvertiserInvoices.AdditionalRevenueProgram,
AdminAdvertiserInvoices.Payments, AdminAdvertiserInvoices.Messages,
AdminAdvertiserInvoices.[Bonus Messages], AdminAdvertiserInvoices.Type,
AdminAdvertiserRepsDDL.Name [Sales Rep]
>From AdminAdvertiserInvoices
JOIN AdminAdvertiserList ON AdminAdvertiserList.Id =
AdminAdvertiserInvoices.AdvertiserId
JOIN AdminAdvertiserRepsDDL ON AdminAdvertiserRepsDDL.Id =
AdminAdvertiserList.SalesEmployeeId


I would like to include the column MessagesSent. However, I want to
calculate MessagesSent that were sent between Start Date and End Date.
Does anyone have any ideas how this would even look?

Thank you very much for your help!

AddThis Social Bookmark Button