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