Data dictionary

1,012 views

Published on

Published in: Business, Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,012
On SlideShare
0
From Embeds
0
Number of Embeds
8
Actions
Shares
0
Downloads
15
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Data dictionary

  1. 1. DATA DICTIONARYGroup1TABLE NAME ATTRIBUTE NAME CONTENTS TYPE ADVERTISE AD_ID Advertise id int(11) PROP_ID Property id int(11) OUTLET_ID Outlet id int(11) AD_COST Advertise cost float AD_DATE Advertise date date AGENCY AGENCY_ID Agency id int(11) AGENCY_NAME Agency name varchar(45) AGENCY_PHONE Agency phone bigint(20) AREA AREA_CODE Area code varchar(20) AREA_NAME Area name varchar(45) AREA_COMMENTS Area comments varchar(200) BUY_SELL TRAN_ID Transaction id int(11) PROP_ID Property id int(11) BUYER_ID Buyer id int(11) SELLER_ID Seller id int(11) BUYER BUYER_ID Buyer id int(11) CLIENT CLIENT_ID Client id int(11) CLIENT_FNAME Client first name varchar(45) CLIENT_LNAME Client last name varchar(45) CLIENT_MIDDLE_INITIAL lient middle initial C varchar(5) CLIENT_PHONE Client phone number bigint(20) CLIENT_EMAIL Client email address varchar(65) CONDOMINIUM PROP_ID Condominium property id int(11) MONTHLY_FEE Condominium monthly fee float OUTLET OUTLET_ID Outlet id int(11) OUTLET_NAME Outlet name varchar(45) OUTLET_PHONE Outlet phone bigint(20) OUTLET_TYPE Outlet type varchar(45) PROPERTY PROP_ID Property id int(11) PROP_STREET Propert street varchar(45) PROP_CITY Property city varchar(45) PROP_STATE Property state char(2) AREA_CODE Area code varchar(20) AGENCY_ID Agency id int(11) PROP_BEDROOM Property bedroom int(11)
  2. 2. PROP_BATHROOM Property bathroom int(11) PROP_PRICE Property price floatREFERRAL REFERRAL_ID Referral id int(11) CLIENT_ID Client id int(11) TRAN_ID Transaction id int(11) REFERRAL_FEE Referral fee floatSCHOOL SCHOOL_ID School id int(11) SCHOOL_NAME School name varchar(100) SCHOOL_TYPE School type varchar(45) AREA_CODE Area code varchar(20)SELLER CLIENT_ID Seller client id int(11)SINGLE_FAMILY PROP_ID Single family property id int(11) LOT_SIZE Single family lot size varchar(45)
  3. 3. REQUIRED PK or FK Default ExtraNO PRI NULLYES MUL NULLYES MUL NULLYES NULLYES NULLNO PRI NULLYES NULLYES NULLNO PRI NULLYES NULLYES NULLNO PRI NULLYES MUL NULLYES MUL NULLYES MUL NULLYES MUL NULLNO PRI NULLYES NULLYES NULLYES NULLYES NULLYES NULLNO PRI NULLYES NULLNO PRI NULLYES NULLYES NULLYES NULLNO PRI NULLYES NULLYES NULLYES NULLYES MUL NULLYES MUL NULLYES NULL
  4. 4. YES NULLYES NULLNO PRI NULLYES MUL NULLYES MUL NULLYES NULLNO PRI NULLYES NULLYES NULLYES MUL NULLNO PRI NULLNO PRI NULLYES NULL
  5. 5. TABLE NAME ATTRIBUTE NAME CONTENTS TYPE REQUIRED PK or FK DefaultADVERTISE AD_ID int(11) NO PRI NULL PROP_ID int(11) YES MUL NULL OUTLET_ID int(11) YES MUL NULL AD_COST float YES NULL AD_DATE date YES NULLAGENCY Field Type Null Key Default AGENCY_ID int(11) NO PRI NULL AGENCY_NAME varchar(45)YES NULL AGENCY_PHONE bigint(20) YES NULLAREA Field Type Null Key Default AREA_CODE varchar(20)NO PRI NULL AREA_NAME varchar(45)YES NULL AREA_COMMENTS varchar(200) YES NULLSELL Field Type Null Key Default TRAN_ID int(11) NO PRI NULL PROP_ID int(11) YES MUL NULL BUYER_ID int(11) YES MUL NULL SELLER_ID int(11) YES MUL NULLBUYER Field Type Null Key Default TRAN_ID int(11) NO PRI NULL PROP_ID int(11) YES MUL NULL BUYER_ID int(11) YES MUL NULL SELLER_ID int(11) YES MUL NULLCLIENT Field Type Null Key Default CLIENT_ID int(11) NO PRI NULL CLIENT_FNAME varchar(45)YES NULL CLIENT_LNAME varchar(45)YES NULL CLIENT_MIDDLE_INITIAL varchar(5) YES NULL CLIENT_PHONE bigint(20) YES NULL CLIENT_EMAIL varchar(65)YES NULLCONDOMINIUM Field Type Null Key Default PROP_ID int(11) NO PRI NULL MONTHLY_FEE float YES NULLOUTLET Field Type Null Key Default OUTLET_ID int(11) NO PRI NULL
  6. 6. OUTLET_NAME varchar(45)YES NULL OUTLET_PHONE bigint(20) YES NULL OUTLET_TYPE varchar(45)YES NULLPROPERTY Field Type Null Key Default PROP_ID int(11) NO PRI NULL PROP_STREET varchar(45)YES NULL PROP_CITY varchar(45)YES NULL PROP_STATE char(2) YES NULL AREA_CODE varchar(20)YES MUL NULL AGENCY_ID int(11) YES MUL NULL PROP_BEDROOM int(11) YES NULL PROP_BATHROOM int(11) YES NULL PROP_PRICE float YES NULLREFERRAL Field Type Null Key Default REFERRAL_ID int(11) NO PRI NULL CLIENT_ID int(11) YES MUL NULL TRAN_ID int(11) YES MUL NULL REFERRAL_FEE float YES NULLSCHOOL Field Type Null Key Default SCHOOL_ID int(11) NO PRI NULL SCHOOL_NAME varchar(100) YES NULL SCHOOL_TYPE varchar(45)YES NULL AREA_CODE varchar(20)YES MUL NULLSELLER Field Type Null Key Default CLIENT_ID int(11) NO PRI NULLSINGLE_FAMILY Field Type Null Key Default PROP_ID int(11) NO PRI NULL LOT_SIZE varchar(45)YES NULL
  7. 7. ExtraExtraExtraExtraExtraExtraExtraExtra
  8. 8. ExtraExtraExtraExtraExtra

×