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