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