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