Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

QUESTION NO.3: MANDATORY OPTIONAL BONUS (10 POINTS) Given the following database schema, write relational algebra (not SQL) expressions for the questions below: STUDENT(Ssn, Name, Major,

image text in transcribed

QUESTION NO.3: MANDATORY OPTIONAL BONUS (10 POINTS) Given the following database schema, write relational algebra (not SQL) expressions for the questions below: STUDENT(Ssn, Name, Major, Bdate) COURSE(Course#, Cname, Dept name) ENROLL(Ssn, Course#, Year, Semester, Grade) 1. List names of students who are/were enrolled in 3 courses or more. 2. Retrieve the names of students who got at least one A during their study. 3. Retrieve the names of all students who took courses offered by "CS" department. 4. List course names that were not offered at all. 5. List the course names and the years when they were offered. Include those that have never been offered

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

Spatial Database Systems Design Implementation And Project Management

Authors: Albert K.W. Yeung, G. Brent Hall

1st Edition

1402053932, 978-1402053931

More Books

Students also viewed these Databases questions

Question

Describe the evidence showing that axons seek specific targets.

Answered: 1 week ago

Question

What does Processing of an OLAP Cube accomplish?

Answered: 1 week ago