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