Frequently Asked Questions - CSPA
Child Status Protection Act
I am assuming your priority date is not current. If that is so, you cannot get your green card until all preconditions, including the priority date being current, are met.
Your friend can apply for an unmarried child independently. Application of CSPA requires analysis of specific facts. I suggest your friend should consult an immigration lawyer for that.