Error: select * from tb_data where d_type='TG' and d_status='Active' order by d_id desc limit -9,9

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 '-9,9' at line 1