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