Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

RELATIONAL ALGEBRA - Please DO NOT answer in SQL I want to double check if my answers are correct Consider the following relation schemas. The

RELATIONAL ALGEBRA - Please DO NOT answer in SQL

I want to double check if my answers are correct

Consider the following relation schemas. The primary keys are underlined. Students(sID, sName, sDepartment, sDegree: integer, advisorID) Lectures(lID, lName, lDepartment, lDegree: integer, pID) Register(sID, lID, score: integer) Professors(pID, name) All attributes are strings if not indicated otherwise.

1. Find the names of students who register for every lecture of the Engineering department.

2. Find the names of students whose department is Engineering.

3. Find the names of students who got the highest score in the DBMS lecture.

4. Display the student names, lecture names, and scores of all those students who register for a higher degree lecture than their degree is.

5. Find the names of professors who do not take any lecture and do not have any advisee.

6. Find the names of students who registered for their advisors lecture and got less than 50 on scores.

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

More Books

Students also viewed these Databases questions

Question

Why are absolute amounts of limited use when comparing companies?

Answered: 1 week ago

Question

LOQ 13-11: How can group interaction enable groupthink?

Answered: 1 week ago

Question

Does it avoid using personal pronouns (such as I and me)?

Answered: 1 week ago

Question

Does it clearly identify what you have done and accomplished?

Answered: 1 week ago