概念
主鍵關聯是指的一個表的主鍵和另外一個表的主鍵關聯
外鍵關聯是指的一個表的主鍵和另外一個表的非主鍵關聯
主鍵關聯:
person_t:
person_id primaryKey
address_id non-primaryKey
address_t
address_id primaryKey
address_name non-primaryKey
他們通過 address_id 關聯---是外鍵關聯
person_t:
person_id primaryKey
persion_name
address_t
person_id primaryKey
address_name
他們通過person_id 關聯是---主鍵關聯。