Every 2020 Democratic presidential candidate but Sen. Elizabeth Warren (D-Mass.) beat President Trump in New Hampshire in a poll released Tuesday.

In theoretical match-ups, Emerson Polling found that all of the Democratic candidates won out over Trump except for Warren, with former Vice President Joe Biden leading. With a 10-point lead, Biden earned the votes of 55 percent of participants.

Tech entrepreneur Andrew Yang was the runner-up against the president, winning 54 percent of voters in a head-to-head race. Yang has struggled to gain traction in the polls and has single-digit support in most surveys.

"It is interesting to see Yang outperform his Democratic rivals against Trump. In this case, his lower name recognition may allow voters to idealize his candidacy," Emerson Polling Director Spencer Kimball said in a statement.

Warren, on the other hand, earned 49 percent of the vote, compared to Trump's 51 percent. Although she is often grouped with Sen. Bernie Sanders (I-Vt.) as the more progressive candidates, 53 percent of respondents voted for Sanders over Trump.

This poll surveyed 1,041 registered voters between Sept. 6 and Sept. 9. The margin of error is 3 percentage points.