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 'dat.bcode like '470100380118%' dat.bcode like '470100380197%' dat.bcode like ...' at line 9