This answer is not quite correct. You are correct in knowing that primary alcohols are oxidized to aldehydes by the PCC oxidation but secondary alcohols are also readily oxidized to ketones with this reagent. Oxidations are tough reactions to learn because there is little you can do except...ugh...memorize them.