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