SELECT bl.name location,COUNT(t.id) transactions,SUM(t.final_total) revenue,SUM(t.final_total)/COUNT(t.id) avg_transaction FROM business_locations bl JOIN transactions t ON bl.id=t.location_id WHERE t.type="sell" GROUP BY bl.id,bl.name ORDER BY revenue DESC;