hahah....>.<" I guess you are good that's why you said shouldn't be hard I just started it....not into SQL yet but starting with the basic of PK, FK, 1NF, 2NF, 3NF but too much terms that's messing me up hahahah
1:1 seems ok but I mentioned 1:M because what if the students live together in the same address then an address will have one or more students >.<"
actually the part I'm having headache with is the prof is asking us to make the diagram so that students with their pass 10 addresses so if it is 1:M for current address to students then it'll be M:N for past addresses to students. But I don't know what composite entity I should use in between past addresses to students.
1:1 seems ok but I mentioned 1:M because what if the students live together in the same address t ...
et1984 發表於 2012-2-10 17:10
Ya, but think in real application, they should not be FK to the same address 'cause what if one of them changed his address? then you're changing his roommate's address too.