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