Tesla
Foundations Track · Easy · 15 min
Manufacturer Sales In Millions
At Tesla, analysts are preparing a scorecard focused on manufacturer sales in millions. Return the total sales per manufacturer rounded to the nearest millio...
Company labels are directional practice context, not official interview guidance.
Objective
Practice query basics through a Tesla-tagged business scenario.
Approach
Use this track to lock in clean query structure, basic filtering logic, and confidence with grouped output.
Company context
Company labels are directional practice context, not official interview guidance.
At Tesla, analysts are preparing a scorecard focused on manufacturer sales in millions. Return the total sales per manufacturer rounded to the nearest million as a numeric sales_millions column. Sort by sales_millions descending, then manufacturer.
pharmacy_sales
| drug | |||
|---|---|---|---|
| Aster | NovaRx | 3600000.00 | 2200000.00 |
| Beacon | NovaRx | 4100000.00 | 2500000.00 |
| Citrine | HealthLab | 5400000.00 | 2400000.00 |
| Delta | CarePlus | 1600000.00 | 800000.00 |
| Ember | CarePlus | 2500000.00 | 1500000.00 |
SQL workspace
Run queries against the protected question data, then submit once the result shape looks right.
Sign in to run SQL
Create a free account or sign in before running queries against protected question data.