🔒 Closed Entity relationship diagram

Status
Not open for further replies.

TABILIN

Established
pahelp po sa mga master natin diyan..homework ko po nakakalito :( :( salamat po ng marami

Imagine you work for the public housing agency of a city, and you have been charged with keeping track of who is living in the agency's developments over time. To help you in this task, you have decided to use a relational database for your record keeping. Your task is to design a database that allows you to capture the facts described below:

  • The city has three public housing developments. You want to record their names, locations, the year they opened, and their height in stories.
  • For each unit in the development, you want to keep track of the number of bedrooms, the number of bathrooms, whether the unit has a kitchen or living room, and the square footage.
  • The database should keep track of the households living in the units. For each member of a household, you want to record their name, date of birth, ***, and indicate whether or not they are they are the head of the household (more than one person can share that distinction).
  • You also want to keep track of when a household moved into and out of a particular unit. You want to be able to follow households as they move from one unit to another or from one development to another. Think about how you will find the unit that the household is currently occupying (i.e., what query would you write to find the current unit of each household).
 
ito ba ts yung may crow foot, bilog, tsaka linya....nakalimutan ko na to
up po sa mga magagaling sa docu diyan!!!
 
Untitled.webp


katulad ba nyan?
 
kunin mu lahat ng entity at attributes ng mga to... tulad ng sa unahan .... ung unang entity jan maaring CITY attributes: Name, location, year_opened, Height_in_stories .... then ung sa pangalawa development(no. of bedrooms, no. of bathrooms, kitchen(datatype dapat boolean), living room, square_footage....

paano i drawing ... depinde kc kung anung notation ggawin mu kung chen ba or crows foot... sa tingin ko maganda ung crows foot katulad picture sa taass..

ung sa taas ung entity, sa baba ung mga attri nya.. then cconnect mu depinde sa sinsabi sa paragraph
 
Status
Not open for further replies.

About this Thread

  • 15
    Replies
  • 2K
    Views
  • 6
    Participants
Last reply from:
markenjel

Trending Topics

Online now

Members online
1,117
Guests online
1,348
Total visitors
2,465

Forum statistics

Threads
2,272,463
Posts
28,942,869
Members
1,237,209
Latest member
Pi_Knows
Back
Top