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