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