sql select rand code example Example: select random sql SELECT column FROM table ORDER BY RANDOM() LIMIT 1