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