Problem
Premium product placement drives revenue — a homepage banner highlighting the five most expensive items can attract high-intent buyers and signal brand positioning. Merchandising teams pull this list before seasonal campaigns to decide which products to feature in premium slots. Using the products table, return the 5 most expensive products — their name and price, ordered from highest to lowest price.
Schema
products
| column | type |
|---|
| id | INTEGER |
| name | TEXT |
| category | TEXT |
| price | NUMERIC |
Sample Data
| id | name | category | price |
|---|
| 1 | Widget | Tools | 9.99 |
| 2 | Gadget | Electronics | 149.99 |
| 3 | Gizmo | Electronics | 79.99 |
| 4 | Doohickey | Tools | 24.99 |
| 5 | Thingamajig | Accessories | 199.99 |
| 6 | Whatchamacallit | Accessories | 49.99 |
Expected Output
| name | price |
|---|
| Thingamajig | 199.99 |
| Gadget | 149.99 |
| Gizmo | 79.99 |
| Whatchamacallit | 49.99 |
| Doohickey | 24.99 |