Correct primary key of table sam.