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