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 'S-PowerEdge-M610-Series/dell' and category like '%battery%' and stock='ok' or...' at line 1