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