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