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