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 reviews_status = 1' at line 1

SELECT COUNT(*) count, SUM(reviews_rating) / COUNT(*) difference FROM reviews WHERE products_id = AND reviews_status = 1

[XT SQL Error]