[SELECT SQL_CALC_FOUND_ROWS id,COUNT(id) AS numMerchants,MIN(price) as minPrice FROM `smarter_products` WHERE categoryid IN ('6','76','75','73','72','136','135','137','74') GROUP BY search_name LIMIT -20,20][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 '-20,20' at line 1]