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