Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Upon completion of this lab you should be able to: Recognize the various relational algebra operators. Create queries using relational algebra terminology. Student ( sid:integer,

Upon completion of this lab you should be able to:
Recognize the various relational algebra operators.
Create queries using relational algebra terminology.
Student (sid:integer, sname:string, major:string)
Class (cid:integer, cname: string, cdesc: string)
Enrolled (sid:integer, cid: integer, esemester: string, grade: string)
Building (bid: integer, bname: string)
Classrooms (crid:integer, bid: integer, crfloor: int)
ClassAssigned (cid: integer, crid: integer, casemester: string)
Find all the student's names enrolled in CS430dl.
Find all the classes Hans Solo took in the SP16 semester.
Find all the classrooms on the second floor of building "A".
Find all the class names that are located in Classroom 130.
Find all the buildings that have ever had CS430dl in one of their classrooms.
Find all the classrooms that Alice Wonderland has been in.
Find all the students with a CS major that have been in a class in either the "A" building or the "B" building.
Find all the classrooms that are in use during the SS21 semester.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

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

Graph Databases

Authors: Ian Robinson, Jim Webber, Emil Eifrem

1st Edition

1449356265, 978-1449356262

More Books

Students also viewed these Databases questions

Question

What are the characteristics of a provision?

Answered: 1 week ago