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