Practice
Learn
← Quit
0 / 0 correct
Databases
Hard
1 of 40
Why can 'SELECT * FROM t ORDER BY random() LIMIT 1' be slow on big tables?
A
LIMIT is ignored
B
random() isn't supported
C
It locks the table
D
It generates a random value for every row and sorts them all