Logical fallacy
Illicit minor
A categorical syllogism extends a claim to the entire subject class in the conclusion even though the premises establish it for only some or an unspecified part of that class. All dogs are mammals and all dogs are pets does not imply that all pets are mammals.
Examples
All sparrows are birds, and all sparrows can perch. Therefore every bird can perch.
All college lecturers are adults, and all college lecturers have staff IDs. So every adult has a staff ID.