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 visiblity = 'yes' AND product_price > 0' at line 1
SELECT `p_id` FROM automotive WHERE sub_category = 'tractor-battery' AND AND visiblity = 'yes' AND product_price > 0
Filename: models/Index_info.php
Line Number: 1225