Database error: Invalid SQL: SELECT COUNT(*) AS cRev, ROUND(AVG(rating),1) AS avgrating FROM Reviews WHERE prodid = AND status = 'APPROVED'
MySQL Error: 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 status = 'APPROVED'' at line 3)
Session halted.