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