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 'WHERE ses_id='6npb0em2tt9dc2othu7p49bmei'' at line 1