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