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