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