What is SQL, and how is it used in data analysis?
Use the supplied analysis_data table to demonstrate a basic analytical SQL query. Return category-level summaries using only records with a positive measure, showing how SQL filters and aggregates data.
category, record_count, and average_measureaverage_measure to two decimal placesaverage_measure descending, then category ascending| Column | Type | Description |
|---|---|---|
| record_idPK | INT | Unique identifier for the analysis record |
| category | VARCHAR(50) | Category assigned to the record |
| measure | NUMERIC(10,2) | Numeric value available for analysis |