2
[Err] 1235 - This version of MySQL doesn't yet support 'LIMIT & IN/ALL/ANY/SOME subquery'
在執行以下查詢:
UPDATE account.account
SET STATUS = 'BLOCK'
WHERE
id IN (
SELECT
p.account_id
FROM
log.log
LEFT JOIN player.player p ON (p.id = log.who)
WHERE
vnum = 71054
AND how = 'BUY'
GROUP BY
log.`who`
HAVING
COUNT(log.who) > 2
LIMIT 10
);
是否有posibility改寫這個查詢因此MySQL可以執行它?
謝謝,這工作:-) – Sapp
@Sapp。 。 。如果它的工作,記得要接受的答案。 –
@GordonLinoff我不認爲等待期尚未屆滿時... –