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