题目
单项选择题
ERD: Scenario: The above ERD represents the details of a simple course database which records the course registration details of students. The course entity has a unique identifier CourseNum and the Registration entity is allocated a partial key. The mode represents the mode of registration: online or on-campus. A student may have more than one phone number. Semantic Rules: 1. Each course may have many registrations. 2. Many registrations are recorded for each course. 2. Each student may register only once. 2. Each student can have multiple registrations. Question: Which of the following represents a fully normalised set of relations?
选项
A.Course(CourseNum, Name,Description)
Registration(RegistrationNum,CourseNum,RegistrationDate,Mode,StudentNum*)
Student(StudentNum,StudentFName,StudentLName,Email,Phone)
StudentContact(StudentNum,Phone)
B.Course(CourseNum, CourseName,Description)
Registration(RegistrationNum,CourseNum,RegistrationDate,Mode)
Student(StudentNum,StudentName,Email,RegistrationNum*)
StudentContact(StudentNum,Phone)
C.Course(CourseNum, CourseName,Description)
Registration(RegistrationNum,CourseNum,RegistrationDate,Mode,StudentNum*)
Student(StudentNum,StudentFName,StudentLName,Email)
StudentContact(StudentNum,Phone)
D.Course(CourseNum, CourseName,Description)
Registration(RegistrationNum,CourseNum,RegistrationDate,Mode)
Student(StudentNum,StudentName,Email,Phone,RegistrationNum*)
StudentContact(StudentNum,Phone)

查看解析
标准答案
Please login to view
思路分析
Examining the given scenario and semantic rules helps identify what a fully normalized schema should look like. Here are the options analyzed in turn.
Option 1:
- Course is defined as (CourseNum, Name, Description) which is fine. Registration includes (RegistrationNum, CourseNum, RegistrationDate, Mode, StudentNum*), which correctly models the relationship to Course and Student. However, Student is defined as (StudentNum, StudentFName, StudentLName, Email, Phone) and there is a separate StudentContact(StudentNum, Phone). This puts Phone as both an attribute of Student and as a separate relation, which is inconsistent for normalization. A multivalued phone implies ......Login to view full explanation登录即可查看完整答案
我们收录了全球超50000道考试原题与详细解析,现在登录,立即获得答案。
类似问题
What would be the best normalised relational model for the Entity E? Entity: E (A, B, C, D) Functional Dependencies : A, B → C, D C → B
What is the highest Normal Form of the following table? Each Girl can grow more than one Flower and lives at one Address.
What is the highest Normal Form of the following table? Each Owner can own one or more PetTypes. Each PetType may have one or more Owners. Each Owner has one Address and one Phone Number
What is the highest Normal Form of the following table? Table: Products ( Pnum, Factory , Cost, On_Hand, Colour ) Business rules state that:- No colour is produced by more than one factory and A factory can produce more than one colour. Functional Dependencies Pnum, Factory → Cost, On_Hand, Colour Colour → Factory
更多留学生实用工具
希望你的学习变得更简单
加入我们,立即解锁 海量真题 与 独家解析,让复习快人一步!