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