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