データベース設計の基礎知識
690 ワード
1. Relationship Type
mysql :
:1 1 (1:1)。
:1 (1:n)。
: (m:n)。
Identifying relationship ( ) non-Identifying relationship( ) ; , , ,
2. Existence
M/O(Mandatory or Optional): “Mandatory” ;“Optional” 。
3. Cardinality
, Mandatory 。 , 。 (not null)。
, 1 0..*(One to Zero or More), 1 1..*(One to One or More), 1 0..1(One to Zero or One),
1 n(One to Exactly)
optional, 。 ( null), , , ,
, Non-Specific, , 2