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