select count(*) as total, ROUND(AVG(star_rating),1) as starAVG from where g_uid='1046'
1064 : 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 'where g_uid='1046'' at line 1
error file : /good/info_main.html