Answer
It doesn't work - such tables do not have a primary key.
Work Step by Step
If a relation has no duplicate data, at least one set of attributes must uniquely identify each tuple, so a primary key always exists; if duplicates are allowed, no such unique identifier is guaranteed, and a primary key may not exist.