Database Management
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsDatabasesDatabase Management

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old July 25th, 2011, 05:59 AM
eric_sermon eric_sermon is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2011
Posts: 1 eric_sermon User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 33 m 12 sec
Reputation Power: 0
Need help with easy Entity Relationship diagram...

Hi,

I saw a few posts on here about E-R diagrams and would be very grateful to anyone who can help me out.

I have a entity relationship diagram, the following conditions have to be satisfied/are true:

each tenant can rent a room in a hall of residence OR apartment.

lease agreements are made at the start of each year.
(hall of residence = 1 person to each room)
(apartment = 3 people to each room)

apartments are inspected by a accomodation officers (members of staff)

heres the link:

hxxp://imageshack.us/f/15/erdiagram.jpg/

(replace the "xx" with "tt")

Is the diagram correct?

many thanks
ES

Reply With Quote
  #2  
Old July 29th, 2011, 08:16 AM
emaborsa emaborsa is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2011
Location: Italy BZ
Posts: 16 emaborsa User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 57 m 26 sec
Reputation Power: 0
Send a message via ICQ to emaborsa Send a message via Skype to emaborsa
Facebook
Hi,
IMHO this is not a ER-Diagram. I suggest to take a look to DIA software, you can found it on THIS link. Under the options you will find ER mode.

A ER diagram shows the entities, like the objects in a OO programming. In your case the entities could be the ROOMS, STAFF_MEMBERS. A relation is something like a conjunction for entities. In your case it could be INSPECTED for these 2 entities.

To create a correct ER, you have first to find out WHAT you want to store, second how to put all toghether (relations). The last part is to find common fields and define primary/secondary keys.

Try...and let me know.

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesDatabase Management > Need help with easy Entity Relationship diagram...

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap