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