Write a SQL query to identify the top 10% of customers by billing volume over the last quarter, including their year-over-year growth rate at LiveRamp.
Use July 15, 2025 as the reporting date, so the last completed quarter is April through June 2025. Compare each customer's billing volume with April through June 2024.
customer_id, customer_name, current_quarter_billing, prior_year_billing, and yoy_growth_rate.customer_id ascending.| Column | Type | Description |
|---|---|---|
| customer_idPK | INT | Unique LiveRamp customer identifier |
| customer_name | VARCHAR(150) | Customer display name |
| Column | Type | Description |
|---|---|---|
| billing_idPK | INT | Unique billing transaction identifier |
| customer_id | INT | Customer associated with the billing transaction |
| billing_date | DATE | Date on which billing was recorded |
| billing_amount | NUMERIC(14,2) | Billing amount in US dollars |
| billing_reference | VARCHAR(40) | External billing reference |