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