SELECT COUNT(*) AS NumTotal FROM ma027localescomerciales WHERE ma027Estado = 0 AND ma027Xéêi÷¢kjò = AND ma027IdMunicipio = 0
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 'X??i??kj? = AND ma027IdMunicipio = 0' at line 1