If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > General > Database Concepts & Design > Football Database (ERD)

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-26-08, 09:06
SignaTune SignaTune is offline
Registered User
 
Join Date: Nov 2008
Posts: 6
Football Database (ERD)

Hello,

I need to make an ERD for a little soccer cup. It's a little friendly cup with 6 players in each team.

We're not using tables yet but only simple ERDs. We need to apply normalization and need to avoid many to many relationships.

I really don't know how I should do the statistics entity. I don't know what attributes I should use and where to put it. Same for the matches, it's really confusing . I wanted to use subentity goal, assist and result but I don't know how to get it all right.

Note: some of the relationships are in dutch but you can translate them easily. You don't need to pay attention to "CHAR" and "INT" etc. cause we're not using it anyways. I'm just using this program cause it's easy to use

Would be really cool if you'd give me some help
Attached Thumbnails
Football Database (ERD)-erd-help.jpg  
Reply With Quote
  #2 (permalink)  
Old 12-01-08, 09:56
SignaTune SignaTune is offline
Registered User
 
Join Date: Nov 2008
Posts: 6
Could anyone please help me?
Reply With Quote
  #3 (permalink)  
Old 12-01-08, 10:26
r937 r937 is offline
SQL Consultant
 
Join Date: Apr 2002
Location: Toronto, Canada
Posts: 19,524
i'm guessing the reason that nobody has replied is because this appears to be a homework assignment thinly disguised as "a little friendly cup"
__________________
r937.com | rudy.ca
please visit Simply SQL and buy my book
Reply With Quote
  #4 (permalink)  
Old 12-01-08, 10:47
SignaTune SignaTune is offline
Registered User
 
Join Date: Nov 2008
Posts: 6
Yes, sorry for that. But I really can't figure this out...

It would be really nice if someone could give me some tips.

This is what I got now:
Attached Thumbnails
Football Database (ERD)-alright.jpg  
Reply With Quote
  #5 (permalink)  
Old 12-01-08, 11:04
healdem healdem is offline
Jaded Developer
 
Join Date: Nov 2004
Location: out on a limb
Posts: 9,246
have you approached your fellow pupils/students and or teacher/lecturer?
__________________
I'd rather be riding my Versys or my Tiger 800 let alone the Norton
Reply With Quote
  #6 (permalink)  
Old 12-01-08, 11:05
SignaTune SignaTune is offline
Registered User
 
Join Date: Nov 2008
Posts: 6
Yeah. I actually scored really well with this ERD. But we need to improve it now, I already asked my friends how to solve this problem - but our skill level is rather limited.

I asked my professor today, but his response was rather complicated and didn't understand him that well. I only have this course 1x per week so it's not that easy to contact him.
Reply With Quote
  #7 (permalink)  
Old 12-01-08, 11:08
SignaTune SignaTune is offline
Registered User
 
Join Date: Nov 2008
Posts: 6
Yeah. I actually scored really well with this ERD. But we need to improve it now, I already asked my friends how to solve this problem - but our skill level is rather limited.

I asked my professor today, but his response was rather complicated and didn't understand him that well. I only have this course 1x per week so it's not that easy to contact him.

It's quite confusing. We started using tables a week ago and I'm already using foreign keys in an ERD, which isn't allowed I guess?

Sorry for the double post, it kept loading

I scored 92% on these categories:
Business = 5/5
Entities = 5/5
Relations = 4
Attributes = 4
Advanced = 5

(the version I handed it didn't have Sponsors, goals en assists.)
Reply With Quote
  #8 (permalink)  
Old 12-01-08, 11:12
r937 r937 is offline
SQL Consultant
 
Join Date: Apr 2002
Location: Toronto, Canada
Posts: 19,524
okay, here's a tip

relationships are almost exclusively one-to-many

a many-to-many relationship is implemented as two one-to-many relationships with an intermediary entity, called a relationship or association or linking or junction entity

a one-to-one relationship is actually just a special case of a one-to-many relationship

so let's examine one-to-many relationships more closely

the "many" entity will always have a foreign key which references the primary key of some entity

your diagram doesn't show all the necessary foreign keys
__________________
r937.com | rudy.ca
please visit Simply SQL and buy my book
Reply With Quote
  #9 (permalink)  
Old 12-01-08, 11:20
SignaTune SignaTune is offline
Registered User
 
Join Date: Nov 2008
Posts: 6
I agree. But we're not allowed to use any foreign keys on this ERD.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On