mysqli_errno : 1064

Query : SELECT user_choice, SUM(user_choice) AS CHOICE_SUM FROM hotel_board_like WHERE board_idx = GROUP BY user_choice

mysqli_error : 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 'GROUP BY user_choice' at line 5

File : /cph1004/www/_board_view.php / Line : 5