Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

2-3 2. A university database contains information about professors (identified by social security number, or SSN, with name, email and office number as attributes) and

image text in transcribed2-3
2. A university database contains information about professors (identified by social security number, or SSN, with name, email and office number as attributes) and courses (identified by courseid, with course name, session number, url for syllabi, and offered department name). Professors teach courses and can teach the same course in several semesters, and each offering must be recorded. Every course must be taught by exactly one professor (no more, no less), and every professor must teach some course(s) Draw an ER diagram that captures this information. (10pts) 3. Suppose relations R(A,C) and s(B,C,D) have the following tuples shown in Tables 1 an respectively. (10pts) (1) Compute the natural join of R and S. Assume each tuple T has schemaAC T(A, B, C, D). (2) Compute the theta-join of R and S with the condition R.A - S.B AND R.A

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

Oracle Database 11g SQL

Authors: Jason Price

1st Edition

0071498508, 978-0071498500

More Books

Students also viewed these Databases questions

Question

Choosing Your Topic Researching the Topic

Answered: 1 week ago

Question

The Power of Public Speaking Clarifying the

Answered: 1 week ago