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 'AND basketSession='483c6cb508d0949871fe3d3223bbce13'' at line 1