Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Consider the following relations: Student (student_no, name, address, GPA) Course (course_no, title, texbook) Instructor (instructor_no, name, phone_no, specialization) Registration (student_no, course_no, instructor_no, session) Qualified_to_teach (instructor_no,

  1. Consider the following relations:
    Student (student_no, name, address, GPA)

    Course (course_no, title, texbook)

    Instructor (instructor_no, name, phone_no, specialization)

    Registration (student_no, course_no, instructor_no, session)

    Qualified_to_teach (instructor_no, course_no)

    Determine the relationships among these relations. List the primary keys for each relation and any foreign keys necessary to establish the relationships and maintain referential integrity.
    Write SQL query to list the names of instructors who have taught COMP 378 but not COMP 418 during the following sessions: Winter 2020 and Winter 2021

Step by Step Solution

There are 3 Steps involved in it

Step: 1

Lets address the problem step by step Step 1 Determine the relationships among these relations First we need to identify and understand the relationsh... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Fundamentals of Database Systems

Authors: Ramez Elmasri, Shamkant Navathe

6th edition

136086209, 978-0136086208

More Books

Students also viewed these Databases questions