syntax error 1: SELECT count(id) AS numrows FROM table_product where type='tin-dang' and hienthi=1 and dist= and giamax>=20000000000 and giamax<=30000000000You 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 giamax>=20000000000 and giamax<=30000000000' at line 1