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