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