syntax error 1: SELECT count(id) AS numrows FROM table_product where id_list= and hienthi=1 and giamax>=5000000 and giamax<=10000000You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'and hienthi=1 and giamax>=5000000 and giamax<=10000000' at line 1