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