Will And Grace star Megan Mullally has said performing a duet with Donald Trump during an Emmys ceremony gave her insight into how badly he wanted to win the US presidency.

Mullally and Trump performed a joke duet together during Emmy Idol during the 2006 awards show and the comedy actress said he desperately wanted to win.

The duo performed a parody version of the Green Acres theme song with Megan in character as her Will And Grace alcoholic socialite Karen Walker and Mr Trump dressed in a straw hat and dungarees.

Appearing on ITV’s The Nightly Show, she told host Dermot O’Leary: “Normally I would say, ‘Hell no’ to something like that but they said, ‘Do you want to play Karen and Donald Trump will stand there in overalls with a pitchfork?’ I said, ‘Well, yes’ and we won.

“The next day I’m in the dressing room and the phone rang and it’s the Donald and he said, ‘We really needed to win that and we did and you were a part of that and I just wanted to say we really needed to win it.

“So then when he was running for president I thought, ‘Oh my God, if he wanted to win Emmy Idol that badly, how bad is it now?’.”

Megan will soon be returning to the role of karen when Will And Grace comes back for 12 new episodes.