Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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 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

Step: 1

Create Professors table CREATE TABLE Professors ProfessorID INT AUTOINCREMENT PRIMARY KEY ProfessorN... 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

Database System Concepts

Authors: Henry F. Korth, S. Sudarshan

4th Edition

978-0073523323, 0-07-255481-9, 73523321, 978-0072554816

More Books

Students also viewed these Databases questions

Question

Name some users of accounting information. AppendixLO1

Answered: 1 week ago