Question

Can anybody help me with this? Create an EER Diagram for the new database to be...

Can anybody help me with this?

Create an EER Diagram for the new database to be constructed.

Upload a completed lab report answering all questions and including the EER Diagram

Requirements and Information:

    1. Each user must have an email address, first name, and last name.
    2. Each user can post one or more videos.
    3. Each video must have a filename and creation date/time.
    4. Each video should be associated with a product that is being demonstrated.
    5. A product can be associated with multiple videos.
    6. Each product must have a unique ID and a name.
0 0
Add a comment Improve this question Transcribed image text
Answer #1

Tool used: My sql workbench

  1. Download mysqlworkbench from the web (Anyways it's open sourced)
  2. Open mysql workbenchMySQL Workbench -ox File Edit View Database Tools Scripting Help Welcome to MySQL Workbench MySQL Workbench is the official g
  3. Click File -> New Model
  4. Click Add Diagram
  5. As soon as you click add diagram you can see an interface something like this
    - o * MySQL Workbench MySQL Model X File Edit View Arrange EER Diagram x Model Database Tools Scripting Help Modeling Additio
  • Now you can start building the diagram by adding tables

Now by seeing the question let's list down all the possible tables.

  • Each user must have an email address, first name, and last name.

So the table should have values something like this

Email Address (Primary Key)
LastName
FirstName
  • Each video must have a filename and creation date/time.
FileName (PrimaryKey)
CreationDateTime
  • Each product must have a unique ID and a name.
productid (PrimaryKey)
name

So we now know 3 tables

Let's get to know about the relations between these tables

  • Each user can post one or more videos.
    i.e the relation between user and videos is one to many relation
  • Each video should be associated with a product that is being demonstrated.
    The relation between video and product is Many to one relation
  • A product can be associated with multiple videos.
    The relation between product and video is one to many relation

So now we have tables and it's relation.Let's head back to mysqlworkbench and start building the ER diagram

- 5 x MYSOL Workbench MySQL Model X Eile Edit View Arrange EER Diagram x Model Database Tools Scripting Help 90D Birds Eye D

Click on the table symbol and click again on the diagram=> as soon as you click a new table appears on the diagram (double click the table on the diagram)

  • - 5 x MYSOL Workbench MySQL Model X Eile Edit View Arrange EER Diagram x Model Database Tools Scripting Help 90 Diagram Model- o * MySQL Workbench MySQL Model X File Edit View Arrange EER Diagram x Model Database Tools Scripting Help @DO Birds Eye DNow fill the tables with the values which we know(listed above)
  • After creating all the tables let's make relation between them

- 0 X MySOL Workbench MySQL Model X Eile Edit View Arrange EER Diagram x Model Database Tools Scripting Help Modeling Additio

  • click on this relation and next click on both the tables which satisfy this relation
  • Similary do it for all the tables

Finally you end up with the diagram created as required

user email VARCHAR(45) firstnam e VARCHAR(45) lastname VARCHAR(45) H Indexes video filename VARCHAR(45) creationDateTime DATE

Add a comment
Know the answer?
Add Answer to:
Can anybody help me with this? Create an EER Diagram for the new database to be...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • SQL help: Design a database diagram for a database that stores information about the Downloads that...

    SQL help: Design a database diagram for a database that stores information about the Downloads that users make.  Each user must have an email address, first name, and last name.  Each user can have one or more downloads.  Each download must have a filename and download date/time.  Each product can be related to one or more downloads.  Each product must have a name. What are the PK and FK for this diagram Describe the reasoning...

  • The assignment requires reading and understanding the data model used by Cassandra and representing a given ER model with Cassandra “tables”. The decision of which tables to define is driven by the qu...

    The assignment requires reading and understanding the data model used by Cassandra and representing a given ER model with Cassandra “tables”. The decision of which tables to define is driven by the queries that need to be answered. A software company is interested in developing a Video Sharing application. They have designed a conceptual model of the data they need to handle in order to offer users these main functions: 1. The creation of channels where they can upload videos....

  • First, draw an EER that models the given requirements. You will play with the Bank Database...

    First, draw an EER that models the given requirements. You will play with the Bank Database in this homework. Please download and execute the bank.sql from Canvas to create this database in your MySQL system. Please submit the results as a zip file with a name <yourname>-bank.zip. Consider modeling a bank: . The bank keeps personal information of each customer including name, sex, address, phone number, social security number, and date of birth. . Each customer owns one or more...

  • You are a database consultant with Ace Software, Inc., and have been assigned to develop a...

    You are a database consultant with Ace Software, Inc., and have been assigned to develop a database for the Johnson Video Store in town. The owners have been keeping their records of videos and DVDs purchased from distributors and rented to customers in stacks of invoices and piles of rental forms for years. They have finally decided to automate their record keeping with a relational database. You sit down with the owners to discuss their business and watch their operation...

  • Question 1 4 Marks A sports center aims to setup a database to maintain the following...

    Question 1 4 Marks A sports center aims to setup a database to maintain the following information. The database stores the name, the address and a unique ID of each employee. The employees are classified into three categories: trainers, receptionists and administrators. Each trainer has one or more specialties (eg, swimming, tennis and squash ete). Each receptionist can be reached through a landline phone number. Each receptionist must be supervised by one administrator and a administrator may supervise multiple receptionists....

  • ER Diagrams (Database Management Systems) Problem 2: Produce an ER diagram for the following description. A...

    ER Diagrams (Database Management Systems) Problem 2: Produce an ER diagram for the following description. A spreadsheet has a unique le location, composed of a path and a le name. A spreadsheet is composed of a set of worksheets, each having a name, unique to that spreadsheet, and a set of cells. Each cell has a unique location within the worksheet, designated by (row, column), and a value. Problem 3: You are given a description and an ER diagram below....

  • Help with database creation - create a visio ER diagram of the scenerio below.. thanks The...

    Help with database creation - create a visio ER diagram of the scenerio below.. thanks The registrar's office at Weber State University wants you to create a new database to support an future application that will help their department better keep track of the scheduled classes offered each semester, including the specific course sections and lecturers appearing in the schedule, and the students registering for courses according to the published schedule. Courses (think course catalog) may or may not be...

  • 1) Create Conceptual Schema Diagram 2) Create a fully attributed Loagical Data Model Diagram 3) Create...

    1) Create Conceptual Schema Diagram 2) Create a fully attributed Loagical Data Model Diagram 3) Create the SQL script that will generate the data model Develop an EER model for the following situation using the traditional EER notation, the Visio notation, or the subtypes inside supertypes notation, as specified by your instructor: Wally Los Gatos and his partner Henry Chordate have formed a new limited partnership, Fin and Finicky Security Consultants. Fin and Finicky consults with corporations to determine their...

  • 3 (16) You are hired to build a database for a local association of realtors. The database has to...

    3 (16) You are hired to build a database for a local association of realtors. The database has to contain information about the properties that are for sale in the area, realty agencies and agents, as well as keep track of the history of property sales. In particular, you are told the following about the desired database: o The database has to contain information about the realty agencies. Each agency has an ID, name, address and a phone number The...

  • question One: Design an ER diagram for the following Dental Clinic database. Your diagram should have...

    question One: Design an ER diagram for the following Dental Clinic database. Your diagram should have all the needed details. You may make any reasonable assumptions but you have to state them clearly. ------ The clinic has several dentists. Each dentist has a unique Number, name, nationality, multiple room-number, salary, birth-date and home-address (Box, City, Zip). Each client (patient) has a unique Code, name, home-phone, work-phone, address, and birth-date. Each client is assigned to one dentist. All future visits will...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT