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