Kcko
6/3/2014 - 8:53 PM

Delete from table with limit (first X rows excluded)

Delete from table with limit (first X rows excluded)

DELETE FROM table
WHERE ID IN
        (
        SELECT ID
        FROM
            (
                SELECT ID
                FROM table
                WHERE Type = 'TEST'
                ORDER BY ID
                LIMIT 30,60
            ) a
        )