Here is a look at what happened on Wednesday:
GROUP E Needing only a draw to qualify, it was all too easy for Liverpool at Anfield, where Coutinho led Liverpool’s dismantling of Spartak with two goals in the opening 15 minutes before completing his first hat trick for the Reds in the 50th.
Roberto Firmino, Mohamed Salah also scored, and Sadio Mane added two as Liverpool won by 7-0 for the second time in Group E, winning the group 3 points ahead of second-place Sevilla. Spartak finished in third place and dropped into the Europa League.
Liverpool finished the group stage with 23 goals, just two shy of Paris Saint-Germain’s record of 25 this season.
“Nobody could imagine that it would go like this tonight. It was an all or nothing game for both teams,” said Liverpool Manager Jurgen Klopp. “We opened the game perfectly and after we took the lead we didn’t have to defend. It was a nice night at Anfield.”
Sevilla qualified for the knockout phase with a 1-1 draw at Maribor.
GROUP F Shakhtar Donetsk advanced to the knockout stage with a 2-1 victory over Manchester City, ending the English club’s unbeaten record in all competitions this season.
Already guaranteed first place, City failed to become the seventh club in Champions League history to win every game in the group stage.
“The game didn’t go as we expected, in the first half they were better than us and it was a deserved win for them,” City midfielder Bernardo Silva said.
Shakhtar, which finished second in the group, took the lead in the 26th minute when Bernard cut in from the left side of the box and curled a shot inside the far post, beyond the reach of goalkeeper Ederson.
Eight minutes later, Ismaily sprinted to beat Ederson to the ball before rounding the keeper and stroking a shot into the unguarded net. City’s consolation goal came in added time when Sergio Aguero converted a penalty.
In the group’s other game, Feyenoord rallied from a goal…