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