PwC Interview Question

Duplicate check, null check , primary key