A Database Error OccurredError 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 status='Shown'' at line 1 select avg(rating) as rating from package_review where package_id= and status='Shown' |