Question: Create the Relational Model (write the DDL SQL script) for the Flubber database based on your ER Diagram, meeting all the same requirements. Include all

Create the Relational Model (write the DDL SQL script) for the Flubber database based on your ER Diagram, meeting all the same requirements. Include all necessary Primary Key and Foreign Key constraints. This should be syntactically correct to test in a MySQL database. (if using a different database, specify which)

There are Professors (ie users) with the changeable attributes Professor_Name, Field, College, PhD_Date
There are Flubs (ie posts) with the unchangeable attributes Content, Purpose, Moment, Inventor (which is the creating Professor)
There are Bounces (ie shares) where a Professor can share another Professor's Flub
Add ID attributes as necessary
Content of Flubs only needs to be a text of fixed length
Professors can have/be Colleagues (ie friends/followers)
A Flub can get Citations (ie likes) by other Professors.

Foreign Key Reference Bounce Professor ID Flub ID # Shares Professor Professor

Foreign Key Reference Bounce Professor ID Flub ID # Shares Professor Professor ID PK Professor Name Field College Ph_Date Cite Citations Professor ID Flub_ID Send Foreign Key Reference Refer Creates Flub Flub_ID PK Purpose Content Moment Inventor Foreign Key Reference

Step by Step Solution

3.44 Rating (147 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Create Professors table CREATE TABLE Professors ProfessorID INT AUTOINCREMENT PRIMARY KEY ProfessorN... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!