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='8225a6f72a1f038f85544add07903fc9'' at line 1