Mysql
 sql >> Datenbank >  >> RDS >> Mysql

mySQL-Unterabfragelimit

Versuchen Sie Folgendes:

DELETE 
FROM posts 
WHERE id not in (
      SELECT * FROM (
            SELECT id 
            FROM posts 
            ORDER BY timestamp desc limit 0, 15
      ) 
      as t);