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 3636176
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T00:59:51+00:00 2026-05-19T00:59:51+00:00

a student select course table. studentnumber name age selected course credit 1 tom 23

  • 0

a student select course table.

 studentnumber   name     age     selected course   credit

    1             tom      23            math           5

    2              jim      20          computer         4

……..

if the table doesn’t fit for the 2NF, why and how to correct it. thank you.

  • 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-05-19T00:59:52+00:00Added an answer on May 19, 2026 at 12:59 am

    It is not 2NF. This is:

    Students:

    studentnumber   name     age    
    
    1               tom      23            
    2               jim      20     
    

    Courses:

    coursenumber   name      credit
    
    1              math      5
    2              computer  4
    

    Student_Courses:

    studentnumber  coursenumber
    
    1              1
    2              2
    

    Because you want to break out attributes which are not wholly dependent on the originally candidate key (e.g. course and studentnumber). Said attribues were only partially dependent on the the orignal candidate key (e.g. credit was dependent on course but not student. Age and name were dependent on student but not course.). For each partial dependency, you create a new table so that the attributes ARE wholly dependent on the new candidate/primary key.

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

Sidebar

Related Questions

I want to do something like: DELETE FROM student WHERE student.course, student.major IN (SELECT
I have three tables named **Student Table** ------------- id name ------------- 1 ali 2
Suppose that I have the following HBM mapping: <class name=Student table=student> <set name=classes table=student_classes
Say I have a Student table, it's got an int ID. I have a
I have a table named 'Attendance' which is used to record student attendance time
I have this html code: <tr> <td><label><input type=text name=id class=DEPENDS ON info BEING student
I have this in courses.html.erb under app/views/students <% if @student.courses.count < Course.count then%> <%
Given the schema: Student(Snum, Sname) Course(Cnum, Cname) Prerequisite(Cnum, Prereq) Professor(Pnum,Pname, Dept, Office) Enrollment(Snum, Cnum,
SELECT Student.S_ID, COUNT(*) AS **Final_Exam_Level** FROM Student, Exams, Exam_Allocation WHERE (Student.S_ID)=Exam_Allocation.S_ID And ((Exams.Exam_ID)=Exam_Allocation.Exam_ID) And
I am getting the wrong value on gfee and netpay. SELECT s.id, s.name, c.name

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.