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