MySQL 오류 입니다.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Mysql_Query : SELECT *, LAG(`chat_type`) OVER(ORDER BY `uid`) AS `prev_type`, LAG(`chat_name`) OVER(ORDER BY `uid`) AS `prev_name`, LEAD(`chat_type`) OVER(ORDER BY `uid`) AS `next_type`, LEAD(`chat_name`) OVER(ORDER BY `uid`) AS `next_name`, LEAD(`chat_date`) OVER(ORDER BY `uid`) AS `next_date` FROM `chat_data` WHERE `chat_kind` = 'lee' ORDER BY `uid` ASC LIMIT -500, 500
Mysql_Error : You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '-500, 500' at line 14
Mysql Error Num : 1064
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━