Who won the race?

Four children had a race. At the end of the race
four statements were made:

Robert: I didn't come in first or last
David: I didn't come in last
Melissa: I was first
Bailey: I was last
You know that one, and only one, of the children
didn't tell the truth.
Who won the race?

Click here for Answer

David won, Melissa was lying.