Stripe processes payments globally and often needs to present totals in a unified currency for reporting. You have a table of transactions recorded in Euros (EUR).
Write an SQL query to convert all transaction amounts from EUR to USD using a fixed exchange rate of 1.10.
| transaction_id(INTEGER) | amount_eur(DECIMAL) |
|---|---|
| 1001 | 100 |
| 1002 | 50.5 |
| 1003 | 10 |
| 1004 | 250.75 |
| 1005 | 5 |
| 1006 | 1000 |
| transaction_id(INTEGER) | amount_eur(DECIMAL) | amount_usd(DECIMAL) |
|---|---|---|
| 1006 | 1000 | 1100 |
| 1004 | 250.75 | 275.83 |
| 1001 | 100 | 110 |
| 1002 | 50.5 | 55.55 |
| 1003 | 10 | 11 |
| 1005 | 5 | 5.5 |