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='936ad694c163e1627f15a5ae33a4c026'' at line 1