Error Number: 1064
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 'and PM_TYPE='0'' at line 1
select count(*) from PRODUCT_MSTR where and PM_TYPE='0'
Filename: /var/www/vhosts/bba.com.tw/httpdocs/models/model_global.php
Line Number: 191