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