Uniform Car Maker
Start Timer
0:00:00
Given a table of cars
with columns id
and make
, write a query that outputs a random manufacturer’s name with an equal probability of selecting any name.
Input:
cars
table
id |
make |
---|---|
1 | Ford |
2 | Toyota |
3 | Toyota |
4 | Honda |
5 | Honda |
6 | Honda |
Output:
Column | Type |
---|---|
make |
Text |
Recommended questions for you
Personalized based on your user activity, skill level, and preferences.
.
.
.
.
.
.
.
.
.
Comments