Error: SELECT id, tab FROM num WHERE id_kat = 53 AND id_numakt=1 ORDER BY num.flaga DESC, nr DESC LIMIT -100, 100;

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