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