Ifølge MySQL-dokumentationen :
De anbefaler, at du bruger en forespørgsel som:
SELECT * FROM tbl LIMIT 95,18446744073709551615;
Så i dit tilfælde bør du prøve:
SELECT *
FROM (SELECT *
FROM $table
ORDER BY ID DESC
LIMIT 3,18446744073709551615) AS T
ORDER BY TIME_STAMP
Bemærk, at du også kan bruge den PostgreSQL-kompatible version ved at bruge nøgleordet OFFSET
:
SELECT *
FROM (SELECT *
FROM $table
ORDER BY ID DESC
LIMIT 18446744073709551615 OFFSET 3) AS T
ORDER BY TIME_STAMP
Bare hvis du undrer dig, 18446744073709551615 = 2^64 - 1
.