You are tasked with analyzing property sales data for an investment firm. This includes calculating the number of days properties were on the market, commissions for listing and selling agents, and summarizing sales data by employee and subdivision. You will create and format queries to calculate key metrics, group and summarize results, and sort data to analyze the top performing subdivisions.