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