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