Apple wants to automate the trade-in valuation for its older devices. The current policy assumes a fixed 20% yearly depreciation rate. This means every year, the device retains only 80% of its value from the previous year.
Write an SQL query to calculate the trade-in value of the iPhone 13 as of the current year (2026).
| model_name(VARCHAR) | release_year(INTEGER) | original_price(DECIMAL) |
|---|---|---|
| iPhone 13 | 2021 | 799 |
| iPhone 12 | 2020 | 699 |
| iPhone 14 | 2022 | 899 |
| iPhone 11 | 2019 | 699 |
| iPhone SE | 2022 | 429 |
| MacBook Air | 2020 | 999 |
| model_name(VARCHAR) | original_price(DECIMAL) | trade_in_value(DECIMAL) |
|---|---|---|
| iPhone 13 | 799 | 261.82 |