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