闭关修行中......
It’s best to leave this to PHP, for example, randomize the ID in advance
Get 10 random records with query conditions:
SELECT * FROM yourTable WHERE yourTable.status=0 ORDER BY RAND() LIMIT 10;
The consumption will be very large, use it as appropriate after testing.
It’s best to leave this to PHP, for example, randomize the ID in advance
Get 10 random records with query conditions:
The consumption will be very large, use it as appropriate after testing.