You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '[Q' ORDER BY part_no' at line 1SELECT count(id) as cnt FROM product WHERE categoryid='2' AND type='DIGITAL CRO
數O \_'[Q' ORDER BY part_no