How would you write a query to calculate pipeline-to-spend ratio by region and campaign for Airtable?