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='db72ba86a536cec50b6b061eb22545c5'' at line 1