Write a SQL query to identify the top 5 performing features based on a specific time-series metric.
Assume feature_daily_metrics contains one row per feature and date, with metric_value as the metric. Consider active features across all available dates.
feature_id, feature_name, and average_metric_value.feature_id ascending as the tie-breaker.| Column | Type | Description |
|---|---|---|
| feature_idPK | INT | Unique feature identifier |
| feature_name | VARCHAR(100) | Feature display name |
| is_active | BOOLEAN | Whether the feature is currently active |
| Column | Type | Description |
|---|---|---|
| metric_idPK | INT | Unique metric observation identifier |
| feature_id | INT | Referenced feature identifier |
| metric_date | DATE | Date of the metric observation |
| metric_value | DECIMAL(10,2) | Time-series metric value for the feature and date |