Your pediatrician will probably not recommend a cough syrup. They will tell you to try more natural remedies.
I find that Delsym works for my kids. Yes I do still give them cough syrup especially at night when they can't sleep. I don't know what the data says, but I know that it works for my kids.
An expectorant will break up the mucus so that it is easier expelled.