SELECT id, haslo, znaczenie FROM sennik_new WHERE  (haslo LIKE 'O%' OR haslo LIKE 'o%' OR haslo LIKE 'ó%' OR haslo LIKE 'Ó%' ) ORDER BY haslo ASC LIMIT -30, 30

blad zapytania :

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