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