How would you structure a SQL query to summarize campaign totals or user averages from a large dataset?