Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8713011
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T05:14:23+00:00 2026-06-13T05:14:23+00:00

I am learning insertion anomaly from www.sqa.org.uk/e-learning . Following data is written in it,

  • 0

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?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T05:14:25+00:00Added an answer on June 13, 2026 at 5:14 am

    This means that the schema is not normalized, i.e. now you have the information about a course in table Student.

    So in order to insert course details, you need to provide the student’s details as well.

    There are different forms of normalization you need to read about, but in this example the right path to solve this anomaly most likely would be to create three tables i.e. strong entity types Student, Course, and an associative entity type linking table StudentCourse (possibly called a Registration or a Grade) which will allow you to store Student and Course data without duplicates and anomalies, as well as assign many courses to many students.

    You can read through normalization examples in the following link, it will give you a better idea:

    http://www.sqa.org.uk/e-learning/MDBS01CD/page_26.htm#Example

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I wrote the following insertion sort yesterday (I started learning C 3 days ago).
I'm learning to deal with data structures and I've just written a program which
Learning xml, Can anyone help me? I have following XML code: **<book lang=en>name of
I am learning to use Core Data. I have created a data model etc
I am learning ASP.NET MVC. I am following one of the basic tutorials on
I'm learning Griffon framework and I have the following problem: mvcGroupInit isn't invoked when
I just began learning about AudioQueues from the CoreAudio book (rough cuts). I did
I'm creating a caching system to take data from an SQLite database table using
I have a problem. I'm learning from MTaulty's video: http://channel9.msdn.com/blogs/mtaulty/prism--silverlight-part-2-dependency-injection-with-unity . And I have
As I was learning from couple of years old tutorials I have end up

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.