Create aggregate_query.sql