Write a query to extract the top-performing assets from this table.
Use valid, non-null closing values and consider only assets with at least two observations. Calculate each asset's total return from its earliest to latest valid observation, along with its average daily return. Return the top three assets.
asset_id, asset_name, total_return_pct, average_daily_return_pct, and observation_count.asset_id ascending as the tie-breaker.| Column | Type | Description |
|---|---|---|
| asset_id | INT | Identifier for the asset |
| asset_name | VARCHAR(100) | Name of the asset |
| asset_class | VARCHAR(50) | Classification of the asset |
| observation_date | DATE | Date of the price observation |
| closing_value | NUMERIC(12,2) | Closing price or value for the asset on the observation date |