Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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,

image text in transcribed
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

Programming The Perl DBI Database Programming With Perl

Authors: Tim Bunce, Alligator Descartes

1st Edition

1565926994, 978-1565926998

More Books

Students also viewed these Databases questions

Question

What are the purposes of promotion ?

Answered: 1 week ago

Question

How do modern Dashboards differ from earlier implementations?

Answered: 1 week ago