Suppose for a college database, there was a Course entity, which specified name, id, description, etc. Later we needed to specify location, time, semester, etc. We decided to create a Class entity. This new entity included everything what was in the Course entity plus added all other data. Also at first we had a Student entity to represent all students in the college. Later we decided to be more specific and to further describe students as full time or part time. Where is generalization and where is aggregation in these two cases? Why?
↧