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