I am learning insertion anomaly from www.sqa.org.uk/e-learning
. Following data is written in it,
An Insert Anomaly occurs when certain attributes cannot be inserted into the database without the presence of other attributes. For example this is the converse of delete anomaly - we can't add a new course unless we have at least one student enrolled on the course.
StudentNum CourseNum Student Name Address Course S21 9201 Jones Edinburgh Accounts S21 9267 Jones Edinburgh Accounts S24 9267 Smith Glasgow physics S30 9201 Richards Manchester Computing S30 9322 Richards Manchester Maths
I am stuck understanding the concept. Why would we need a student to be enrolled into the course for it to exist?