For the given schema, write relational algebra for the following queries. Student (id, name) Enrolledin (id, code) Subject (code, lecturer) 1. What are the names of students enrolled in cs3020? 2. Who teaches cs1500 or cs3020? 3. What are the names of students in cs1500 or cs3010? 4. What are the names of students in both cs1500 and cs1200? 5. Which subjects is Hector taking?

Principles of Information Systems (MindTap Course List)
13th Edition
ISBN:9781305971776
Author:Ralph Stair, George Reynolds
Publisher:Ralph Stair, George Reynolds
Chapter5: Database Systems And Big Data
Section: Chapter Questions
Problem 14SAT
icon
Related questions
Question
100%
For the given schema, write relational algebra for the following queries. Student (id, name) EnrolledIn (id, code) Subject (code, lecturer) 1. What are the names of students enrolled in cs3020? 2. Who teaches cs1500 or cs3020? 3. What are the names of students in cs1500 or cs3010? 4. What are the names of students in both cs1500 and cs1200? 5. Which subjects is Hector taking?
Database Systems - Assignment 1
Deadline : 20n March 11:55PM
For the given schema, write relational algebra for the
following queries.
Student (id, name)
Enrolledin (id, code)
Subject (code, lecturer)
1. What are the names of students enrolled in cs3020?
2. Who teaches cs1500 or cs3020?
3. What are the names of students in cs1500 or cs3010?
4. What are the names of students in both cs1500 and cs1200?
5. Which subjects is Hector taking?
Transcribed Image Text:Database Systems - Assignment 1 Deadline : 20n March 11:55PM For the given schema, write relational algebra for the following queries. Student (id, name) Enrolledin (id, code) Subject (code, lecturer) 1. What are the names of students enrolled in cs3020? 2. Who teaches cs1500 or cs3020? 3. What are the names of students in cs1500 or cs3010? 4. What are the names of students in both cs1500 and cs1200? 5. Which subjects is Hector taking?
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Complex Datatypes
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.
Recommended textbooks for you
Principles of Information Systems (MindTap Course…
Principles of Information Systems (MindTap Course…
Computer Science
ISBN:
9781305971776
Author:
Ralph Stair, George Reynolds
Publisher:
Cengage Learning
Fundamentals of Information Systems
Fundamentals of Information Systems
Computer Science
ISBN:
9781337097536
Author:
Ralph Stair, George Reynolds
Publisher:
Cengage Learning
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