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