A Guide to SQL
A Guide to SQL
9th Edition
ISBN: 9781111527273
Author: Philip J. Pratt
Publisher: Course Technology Ptr
Question
Book Icon
Chapter 2, Problem 16RQ
Program Plan Intro

Functional dependencies:

Functional dependency is a term in the relational database theory which refers to a constraint that is located in between the two sets of attributes in a relation from a database. The functional dependencies of the given database are as follows.

  • DEPARTMENT_NUM à DEPARTMENT_NAME
  • ADVISOR_NUM à ADVISOR_LAST_NAME, ADVISOR_FIRST_NAME, DEPARTMENT_NUM
  • COURSE_CODE à DESCRIPTION
  • STUDENT_NUM à STUDENT_LAST_NAME, STUDENT_FIRST_NAME, ADVISOR_NUM
  • STUDENT_NUM, COURSE_CODE à GRADE

Relations:

The term relation refers to the relationship between the data represented in a row-column format. The relative relations for the given database table is as follows:

  • DEPARTMENT (DEPARTMENT_NUM, DEPARTMENT_NAME)
  • ADVISOR (ADVISOR_NUM, ADVISOR_LAST_NAME, ADVISOR_FIRST_NAME, DEPARTMENT_NUM)
  • COURSE (COURSE_CODE, DESCRIPTION)
  • STUDENT (STUDENT_NUM, STUDENT_LAST_NAME, STUDENT_FIRST_NAME, ADVISOR_NUM)

 For the database, a new relation is defined as it is mentioned that an advisor can advise any number of students but each student has only one advisor. Therefore, it can be defined as follows:

 STUDENT_COURSE (STUDENT_NUM, COURSE_CODE, GRADE)

The above relations are defined for the condition when an advisor can advise any number of students but the student can have only one advisor. Therefore, it clearly represents that the relation between the advisor and the student is many-to-one relation.

Blurred answer
Students have asked these similar questions
Click Here for the Solution 27. Write a Program for Insertion Sort in Java. Time Complexity: O(N 2) Space Complexity: 0(1) Click Here for the Solution
Counting ten tennis ball going into a box From a conveyor belt  I want to write a assignment about this topic
I need fixing my a matlab code to find the currents USING MARTIXS AND INVERSE to find the current % At this point We Enter the Resistor values and Voltage Source Values fprintf('Provide Resistance Values for the Resistors as Requested: \n'); fprintf('===============================================\n'); R1x = input('Enter the value for R1 in kohms: '); R2x = input('Enter the value for R2 in kohms: '); R3x = input('Enter the value for R3 in kohms: '); R4x = input('Enter the value for R4 in kohms: '); fprintf('Provide voltage values for as requested: \n'); fprintf('===============================================\n'); E1 = input('Enter the value of E1 in Volts: '); E2 = input('Enter the value of E2 in Volts: '); E3 = input('Enter the value of E3 in Volts: '); fprintf('===============================================\n'); % Scaling FACTOR multiplication of resistors by 1000 (1K) each R1 = 1000 * R1x; R2 = 1000 * R2x; R3 = 1000 * R3x; R4 = 1000 * R4x; fprintf('VALUES YOU HAVE ENTERED FOR YOUR…
Knowledge Booster
Background pattern image
Similar questions
SEE MORE QUESTIONS
Recommended textbooks for you
Text book image
A Guide to SQL
Computer Science
ISBN:9781111527273
Author:Philip J. Pratt
Publisher:Course Technology Ptr
Text book image
MIS
Computer Science
ISBN:9781337681919
Author:BIDGOLI
Publisher:Cengage
Text book image
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:9780357392676
Author:FREUND, Steven
Publisher:CENGAGE L
Text book image
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:9781337508841
Author:Carey
Publisher:Cengage
Text book image
C++ for Engineers and Scientists
Computer Science
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Course Technology Ptr
Text book image
Oracle 12c: SQL
Computer Science
ISBN:9781305251038
Author:Joan Casteel
Publisher:Cengage Learning