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='54d332a6969806e982b0757060aa0c50'' at line 1