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