select avg(requestTimeSec)
from {tableName}
where {column} between ((select max({column}) from {tableName}) - 2501) and (((select max({column}) from {tableName}) - 1))
select avg(requestTimeSec)
from {tableName}
where {column} between ((select max({column}) from {tableName}) - 5001) and (((select max({column}) from {tableName}) - 2501))
select avg(requestTimeSec)
from {tableName}
where {column} between ((select max({column}) from {tableName}) - 10001) and (((select max({column}) from {tableName}) - 5001))
Output for 8.4.15
/bin/php-8.4.15: /usr/lib/libm.so.6: version `GLIBC_2.38' not found (required by /bin/php-8.4.15)
/bin/php-8.4.15: /usr/lib/libm.so.6: version `GLIBC_2.35' not found (required by /bin/php-8.4.15)
/bin/php-8.4.15: /usr/lib/libc.so.6: version `GLIBC_2.34' not found (required by /bin/php-8.4.15)
/bin/php-8.4.15: /usr/lib/libc.so.6: version `GLIBC_2.38' not found (required by /bin/php-8.4.15)
Process exited with code 1.