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