SELECT COUNT(*) FROM ttx WHERE antutu < AND antutu>0 AND tip='телефон'

You 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 antutu>0 AND tip='телефон'' at line 1