Explain what the graph or chart is showing and how you would use it to answer a risk-related question.
You are given chart observations captured from a Barclays risk dashboard. Write a SQL query that returns the latest observed value for each chart series, so the interviewer can see how you would summarize the chart before answering a risk question.
series_name, observation_date, metric_valueobservation_date is NULLseries_name ascending| Column | Type | Description |
|---|---|---|
| observation_idPK | INT | Unique observation identifier |
| series_name | VARCHAR(100) | Name of the chart series |
| observation_date | DATE | Date the chart point was recorded |
| metric_value | NUMERIC(12,2) | Observed metric value |