比如这张图片,如果我需要写UNF,1NF,2NF和3NF。
但是我不太清楚naming sponsor和amount of sponsorship这两个要不要在UNF的时候就包括。
当然我也不确定,我先瞎写一点,好心的同学能不能帮我看看对错。
UNF:carnival: (location, director, events, naming_sponsor, sponsor_name, amount_sponsorship, contact_name, contact_phone)
1NF: carnival: (location(p), director, events, naming_sponsor, sponsor_name, amount_sponsorship, contact_name, contact_phone)
2NF: 和1NF一样
3NF: carnival: (location(p), director, events, sponsor_name(F))
sponsor: (sponsor_name(p), naming_sponsor, amount_sponsorship, contact_name, contact_phone)
但是看其他例题,似乎有时候再UNF那边也会加括号,有时候又不加。具体是什么情况采需要加括号呢?