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