The database is in the attachment.
Problem decription:
What I did is creating a query named offseasonrevenue to calculate the revenues meet the criteria and creating a query named wholesalerevenue to calculate all the revenue. For the final query, I used this equation to calculate the...