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='658ab2498bea3b742ce1c8383962efda'' at line 1