Follow along with the video below to see how to install our site as a web app on your home screen.
Примечание: This feature may not be available in some browsers.
Не знаю как остальные БД но MySQL будет ругаться. SELECT + UPDATE в 1 запросе не пройдет, придется делить на 2.Кто в курсе как одним запросом сделать что-то вроде:
?Код:UPDATE tablename SET column = 'some_value' WHERE id IN(SELECT id FROM tablename ORDER BY RAND())LIMIT 3000
UPDATE tablename SET column = 'some_value' WHERE id IN(SELECT id FROM tablename ORDER BY RAND())LIMIT 3000
UPDATE tablename SET column = 'some_value' WHERE id IN(SELECT id FROM tablename ORDER BY RAND() LIMIT 3000)
UPDATE tablename AS t1,
(
SELECT id FROM tablename ORDER BY RAND() LIMIT 3000
) AS t2
SET t1.`column` = 'some_value'
WHERE t1.id = t2.id