You are given a table named sales that records individual transactions, each with a sale_date and an amount. Write a single query that aggregates the total amount per calendar month and then computes the month-over-month percentage change in total amount.
Return three columns: month (the first day of each month), total (the summed amount for that month), and pct_change (the percentage change in total compared to the previous month). The percentage change is defined as (current_total - previous_total) / previous_total * 100, rounded to 2 decimal places. The earliest month has no prior month, so its pct_change must be NULL. Order the result by month ascending.