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