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