mytable pid name field === ==== ===== 1 A1 0 2 A2 1 3 A3 1 4 A4 0 5 A5 0
This is my table structure. Here I want to se
SELECT *, RAND() "xrand" FROM yourtable A ORDER BY xrand LIMIT 4