The following relational schema form a university database which is implemented in a relational database: student (s_ID, s_name, semester, year) department(d ID, d_name, floor) course (c_code, c_title, d_ID, credits) Write down the Relational Algebra for the following queries: a) Find your own name using your own registration number as the student ID. b) Show the ID and name of the department located at the floor number equals the last digit of your own registration number. c) Find the codes and titles of the courses having credits more than 3 credits. d) Find the name of all students from your own semester and year.

A Guide to SQL
9th Edition
ISBN:9781111527273
Author:Philip J. Pratt
Publisher:Philip J. Pratt
Chapter2: Database Design Fundamentals
Section: Chapter Questions
Problem 11RQ
icon
Related questions
Question
2. The following relational schema form a university database which is
implemented in a relational database:
student (s_ID, s_name, semester, year)
department(d_ID, d_name, floor)
course (c_code, c_title, d_ID, credits)
Write down the Relational Algebra for the following queries:
a) Find your own name using your own registration number as the student ID.
b) Show the ID and name of the department located at the floor number equals to
the last digit of your own registration number.
c) Find the codes and titles of the courses having credits more than 3 credits.
d) Find the name of all students from your own semester and year.
Transcribed Image Text:2. The following relational schema form a university database which is implemented in a relational database: student (s_ID, s_name, semester, year) department(d_ID, d_name, floor) course (c_code, c_title, d_ID, credits) Write down the Relational Algebra for the following queries: a) Find your own name using your own registration number as the student ID. b) Show the ID and name of the department located at the floor number equals to the last digit of your own registration number. c) Find the codes and titles of the courses having credits more than 3 credits. d) Find the name of all students from your own semester and year.
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
A Guide to SQL
A Guide to SQL
Computer Science
ISBN:
9781111527273
Author:
Philip J. Pratt
Publisher:
Course Technology Ptr