select random sql 1

select random sql

SELECT column FROM table ORDER BY RAND() LIMIT 1

Here is what the above code is Doing:
1. We’re selecting the column we want to randomize.
2. We’re ordering the column randomly.
3. We’re limiting the results to 1.

Similar Posts