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