MySQL Error!

Date: [19:38:07] 5.12.2024 +0000

MySQL:
Query:                 select * from ds_response as g where status=1 order by sort, id desc limit -3, 3
mysql_error():         You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-3, 3' at line 1
mysql_errno():         1064
mysql_server_info():   8.0.40-0ubuntu0.24.04.1

Script:
SCRIPT_FILELINE:       /var/www/videoglobal__usr/data/www/videoglobal.ru/modules/response.inc.php:15
SCRIPT_FILENAME:       /var/www/videoglobal__usr/data/www/videoglobal.ru/index.php

Request:
REQUEST_URI:           /response/korporativnii-film.html
QUERY_STRING:          module=response&id=korporativnii-film
HTTP_REFERER:          
HTTP_HOST:             www.videoglobal.ru
REQUEST_METHOD:        GET

Server:
SERVER_SOFTWARE:       Apache/2.4.58 (Ubuntu)
SERVER_PORT:           443
SERVER_NAME:           www.videoglobal.ru

User:
HTTP_USER_AGENT:       CCBot/2.0 (https://commoncrawl.org/faq/)
REMOTE_ADDR:           18.97.14.91
REMOTE_PORT:           37778