Below is the original tab, which shows the location, cost and date
How to summarize costs by cost and by location? Not sure what is the right SQL queries if there are