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