“For the ‘UserPhoto’ table, the ‘key’ would be ‘UserID’ and the ‘value’ would be the list of ‘PhotoIDs’ the user owns, stored in different columns. We will have a similar scheme for the ‘UserFollow’ table.”
Does that mean pk is userID and value is a list of userID the user follows?
And in the pic, UserID1 and UserID2 are both primary keys. I think we there is only one primary key allowed in db.