What's the point of a candidate key?

前端 未结 9 642
借酒劲吻你
借酒劲吻你 2020-12-09 18:00

I\'m fairly new to database management and this question never seems to be answered in more than one sentence. All other SO answers say \"A candidate key is a minimal super

9条回答
  •  被撕碎了的回忆
    2020-12-09 18:47

    It means that if PhoneNumber was indeed a candidate key you could delete the ID column and use PhoneNumber instead. In other words, it is a candidate for being a unique key.

    Wikipedia has a more formal definition that you many want to look at.

提交回复
热议问题