Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Using the provided database answer the questions using relational algebra operations only Course(s) for which only one section was created in the Spring 2009 semester

Using the provided database answer the questions using relational algebra operations only

image text in transcribedimage text in transcribed

  1. Course(s) for which only one section was created in the Spring 2009 semester

  2. Course(s) with prereqisite(s) from other departments. We are interested in course id(s), title(s) and dept name(s) of a course with its prerequisites course_id(s), title(s) and dept_name(s).

  3. Students who received grade A for course CS-190 in the Spring 2009 semester. Retrieve ID(s) of student(s) along with their name(s).

  4. Building(s) student(s) Brown had classes in the Spring 2010 semester.

classroom building string room_number number capacity number department dept_name string building string budget number course course_id string title string dept_name string credits number instructor ID number name string dept_name string salary number section course_id string sec_id number semester string year number building string room_number number time_slot_id string teaches ID number course_id string sec_id number semester string year number student ID number name string dept_name string tot_cred number takes ID number course_id string sec_id number semester string year number grade string advisor s_id number i_id number time_slot time_slot_id string day string start_hr number start_min number end_hr number end_min number prereq course_id string prereq_id string classroom building string room_number number capacity number department dept_name string building string budget number course course_id string title string dept_name string credits number instructor ID number name string dept_name string salary number section course_id string sec_id number semester string year number building string room_number number time_slot_id string teaches ID number course_id string sec_id number semester string year number student ID number name string dept_name string tot_cred number takes ID number course_id string sec_id number semester string year number grade string advisor s_id number i_id number time_slot time_slot_id string day string start_hr number start_min number end_hr number end_min number prereq course_id string prereq_id string

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

Machine Learning And Knowledge Discovery In Databases European Conference Ecml Pkdd 2015 Porto Portugal September 7 11 2015 Proceedings Part 1 Lnai 9284

Authors: Annalisa Appice ,Pedro Pereira Rodrigues ,Vitor Santos Costa ,Carlos Soares ,Joao Gama ,Alipio Jorge

1st Edition

3319235273, 978-3319235271

More Books

Students also viewed these Databases questions