The Baltimore Orioles have given up the most earned runs by a team in a game, with 30 earned runs versus the Rangers on August 22, 2007.

which team has the most earned runs in a game
Interpreted as:
Which team has the most earned runs in a regular-season game?