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