Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8445673
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T09:43:01+00:00 2026-06-10T09:43:01+00:00

Before I go ahead and convert my entity relationship diagram into SQL statements, I

  • 0

Before I go ahead and convert my entity relationship diagram into SQL statements, I thought I’d ask if someone could verify if this model doesn’t contain any absurdities and anomalies that will appear once I have a SQL database schema.

I am particularly unsure about my cardinality of a relationship between Customer and VIP. Also, Supplier and CD relationship. start_date of the VIP entity – should it be a weak key? Are there any other potential weak keys besides the name attribute of the Song entity?

E/R Model

Legend

  • Entity enter image description here
  • Attribute enter image description here
  • Weak Entity enter image description here
  • Relationship enter image description here
  • Identifying Relationship enter image description here
  • Cardinality Ratio enter image description here

I’ve used the following websites as references to construct my diagram:

  1. http://en.wikipedia.org/wiki/File:ERD_Representation.svg
  2. http://en.wikipedia.org/wiki/Entity-relationship_model
  3. http://www.cse.ohio-state.edu/~gurari/course/cse670/cse670Ch2.xht

Software used to create the diagram: Dia (Linux)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T09:43:02+00:00Added an answer on June 10, 2026 at 9:43 am

    Sorry this is a late answer, but in case it’s useful there are two improvements you can make.

    1) The “is-a” relationship between “VIP” and “CUSTOMER” indicates the presence of a superclass (customer) and subclass (vip). You may want to model VIP as a subclass.

    2) Since you are tracking dates for the relationship “rents”, the cardinality must be taken “over time”. Therefore the cardinality on both sides is “N” (i.e., not “1” on the side of customers)

    Minor improvement: in “Song” (weak entity class) set the partial identifier as “track” rather than “name”; this will allow for multiple recordings of the same song on a CD (e.g., 2 versions). The track number will always be unique within the CD

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Now, I could go ahead and write this using FileSystemWatcher etc, but before I
Before actually asking anything, I'll go ahead and say this is a theoretical question;
Before I go ahead and write something myself is anyone aware of a library
before I start I want to point out that I tagged this question as
Before I ask my question, I want to mention that I am only today
Before I ask the question let me state that I have attempted to google
My immediate context is the Windows platform, however I might also ask this same
I apologize ahead of time if this isn't properly formatted, but... I need to
This is probably a stupid question but I'll go ahead and humble myself. The
I'm trying to figure out how I can verify what I'm feeding into carrierwave

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.