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