question about mates

I'm learning SW and stuck with this......can someone show me how to constrain all degree of freedom (DOF)?

I tried with Help in SW, but can't find useful info about it.

thank you

SolidworksGeneral