you are working with primary keys so they have to be unique for each row. what you need is a foriegn
you are working with primary keys so they have to be unique for each row. what you need is a foriegn key in another column that points to ids from other tables/sources and this way you can easily create constraints and save yourself a lot of headache

