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