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='694c76f85af1c8011879bf7a25c36401'' at line 1