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