Link to home
Start Free TrialLog in
Avatar of 944media
944media

asked on

MySQL Query - Max difference between date fields during one month period

We have an orders table that has a field called "sold_date" and another field called "rep_id"

Over a one month time period we want to see the AVERAGE number of days between sold_date and the MAXIMUM for each rep.

Any thoughts on how to do this?
ASKER CERTIFIED SOLUTION
Avatar of Markus Fischer
Markus Fischer
Flag of Switzerland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
944media,

Please provide sufficient feedback so that I can understand why you did not follow up on this question.

Thank you
(°v°)