Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

4 Consider the following schemas for a course registration system Student Number. firstName, last Name, streeetAddress, city, state, zipcode) Course(sourseld. course Number, section Number, year,

image text in transcribed

4 Consider the following schemas for a course registration system Student Number. firstName, last Name, streeetAddress, city, state, zipcode) Course(sourseld. course Number, section Number, year, semester, course Title, hours instructor) RegisteringForCourse( iNumber, souseld) a).In the relation(table) Course, do you find another key among the attributes? If you do, list the attributes of the key you found. (7 pts) b).Do you see any table that implements a relationship? If you do, deseribe how that table(representing a relationship) relates other tables(entitis)? (8 pts) c). Write a SQL, statement that will return all the courses that all the students take. The result set tes: jNumber, first Name, last Name, course Number, section Number, year and semester. Also write a relational algebra expression to do the same. (10 pts) d).Write a SQL statement that will return jNumber, firstName, lastName of all students who take Ann Smith's courses. Note that the attribute instructorAnn Smith' Also write a relational algebra expression to do the same (10 pts)

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

Introduction To Data Mining

Authors: Pang Ning Tan, Michael Steinbach, Vipin Kumar

1st Edition

321321367, 978-0321321367

More Books

Students also viewed these Databases questions

Question

a donor to the university or school?

Answered: 1 week ago

Question

6. Explain how to train managers to coach employees.

Answered: 1 week ago

Question

5. Tell how job experiences can be used for skill development.

Answered: 1 week ago

Question

4. Explain the characteristics of successful mentoring programs.

Answered: 1 week ago