Error Number: 1064

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 '-10, 10' at line 4

SELECT DISTINCT * FROM `psychologist_ru` ORDER BY `pru_date` DESC LIMIT -10, 10

Filename: core/MY_Model.php

Line Number: 37