Uniform Car Maker

Start Timer

0:00:00

Upvote
4
Downvote
Save question
Mark as completed
View comments (26)
Next question

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
.
.
.
.
.


Comments

Loading comments