In terms of the following relations: (Primary Key, Foreign Key)                   Student (StudentNumber, StudentName, CourseCode)                   Enrolment (StudentNumber, OfferingNumber)                   Offering (OfferingNumber, UnitCode, Semester, Year)                   Unit (UnitCode, Title)                   Course (CourseCode, CourseTitle)                   Formulate relational algebra (NOT SQL) expressions for each of the following: List the StudentNumber of the student with the name ‘Bob Builder’ List the StudentNumber of students who have taken ICT285 or ICT284 in 2020  List the StudentNumber of students who have taken ICT285 but not ICT284 in 2020  List the StudentNumber of any students who have taken ALL units offered in Trimester 2, 2020

Database Systems: Design, Implementation, & Management
12th Edition
ISBN:9781305627482
Author:Carlos Coronel, Steven Morris
Publisher:Carlos Coronel, Steven Morris
Chapter3: The Relational Database Model
Section: Chapter Questions
Problem 16RQ: Create the table that results from applying an INTERSECT relational operator to the tables shown in...
icon
Related questions
Question

In terms of the following relations:

(Primary Key, Foreign Key)

                  Student (StudentNumber, StudentName, CourseCode)

                  Enrolment (StudentNumber, OfferingNumber)

                  Offering (OfferingNumber, UnitCode, Semester, Year)

                  Unit (UnitCode, Title)

                  Course (CourseCode, CourseTitle)

                 

Formulate relational algebra (NOT SQL) expressions for each of the following:

  1. List the StudentNumber of the student with the name ‘Bob Builder’
  2. List the StudentNumber of students who have taken ICT285 or ICT284 in 2020 
  • List the StudentNumber of students who have taken ICT285 but not ICT284 in 2020 
  1. List the StudentNumber of any students who have taken ALL units offered in Trimester 2, 2020

 

Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
SQL Query
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781305627482
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781285196145
Author:
Steven, Steven Morris, Carlos Coronel, Carlos, Coronel, Carlos; Morris, Carlos Coronel and Steven Morris, Carlos Coronel; Steven Morris, Steven Morris; Carlos Coronel
Publisher:
Cengage Learning
A Guide to SQL
A Guide to SQL
Computer Science
ISBN:
9781111527273
Author:
Philip J. Pratt
Publisher:
Course Technology Ptr