Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
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 operations for the following queries: a) Find your own semester and year from the student relation using your own student ID. b) Show the name of department along with the ID where the floor number is equal to n. (here, n = the length of your own last name; you do not need to calculate the length using Relational Algebra, just calculate in your mind and put the value in the desired Relational Algebra operation) c) Find the course titles of your own department. (ID of the Department of CSE 01) d) List the course codes having more than 1.50 credits but less than 4.00 credits. e) Find all the students' name from the year 2019 and 2020
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started