Consider the relational database tables below and write the relational algebra expression for the following questions. [stdid is studentid, bid is bookid, rdate is reserved date and adate is accessed date] Student (stdid, semester, major, name, score, age) Books (bid, bname, author) Reserve (stdid, bid, rdate) Accessed (stdid, bid, adate) 1. Find out the details of all students who have score greater than or equal to 70. 2. Find the students who belong to 'CSE' major and whose score is greater than 60. 3. Find the name, score of students who belong to 'EC' major and whose score is greater than 50.

A Guide to SQL
9th Edition
ISBN:9781111527273
Author:Philip J. Pratt
Publisher:Philip J. Pratt
Chapter2: Database Design Fundamentals
Section: Chapter Questions
Problem 3TD
icon
Related questions
Question
100%
Consider the relational database tables below and write the relational
algebra expression for the following questions. [stdid is studentid, bid is
bookid, rdate is reserved date and adate is accessed date]
Student (stdid, semester, major, name, score, age)
Books (bid, bname, author)
Reserve (stdid, bid, rdate)
Accessed (stdid, bid, adate)
1. Find out the details of all students who have score greater than or
equal to 70.
2. Find the students who belong to 'CSE' major and whose score is
greater than 60.
3. Find the name, score of students who belong to 'EC' major and whose
score is greater than 50.
4. Find the stdid of students who have accessed and reserved a book.
5. Find the stdid of students who have accessed but not reserved a
book.
6. Find the names of students who have reserved a book using natural
join.
Transcribed Image Text:Consider the relational database tables below and write the relational algebra expression for the following questions. [stdid is studentid, bid is bookid, rdate is reserved date and adate is accessed date] Student (stdid, semester, major, name, score, age) Books (bid, bname, author) Reserve (stdid, bid, rdate) Accessed (stdid, bid, adate) 1. Find out the details of all students who have score greater than or equal to 70. 2. Find the students who belong to 'CSE' major and whose score is greater than 60. 3. Find the name, score of students who belong to 'EC' major and whose score is greater than 50. 4. Find the stdid of students who have accessed and reserved a book. 5. Find the stdid of students who have accessed but not reserved a book. 6. Find the names of students who have reserved a book using natural join.
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 4 steps with 6 images

Blurred answer
Knowledge Booster
Dataset
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
A Guide to SQL
A Guide to SQL
Computer Science
ISBN:
9781111527273
Author:
Philip J. Pratt
Publisher:
Course Technology Ptr
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
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781305627482
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Oracle 12c: SQL
Oracle 12c: SQL
Computer Science
ISBN:
9781305251038
Author:
Joan Casteel
Publisher:
Cengage Learning
Principles of Information Systems (MindTap Course…
Principles of Information Systems (MindTap Course…
Computer Science
ISBN:
9781305971776
Author:
Ralph Stair, George Reynolds
Publisher:
Cengage Learning
Principles of Information Systems (MindTap Course…
Principles of Information Systems (MindTap Course…
Computer Science
ISBN:
9781285867168
Author:
Ralph Stair, George Reynolds
Publisher:
Cengage Learning