Explain SQL basics and how you would apply them to business use cases.
For the practical portion, write a PostgreSQL query using the supplied respondent and response data. Return market-level survey performance for completed, scored responses recorded during Q1 2025.
market, scored_response_count, average_score, and positive_rate_pct| Column | Type | Description |
|---|---|---|
| respondent_idPK | INT | Unique respondent identifier |
| market | VARCHAR(100) | Respondent market |
| panel_status | VARCHAR(30) | Current panel participation status |
| Column | Type | Description |
|---|---|---|
| response_idPK | INT | Unique survey response identifier |
| respondent_id | INT | Respondent who submitted the response |
| response_date | DATE | Date the response was recorded |
| status | VARCHAR(30) | Response completion status |
| score | INT | Survey score from 0 through 5 |