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