Você está na página 1de 6

Table Name Program

Column Name Prog_ID Prog_Name Prog_Length Prog_Desc Prog_Rating Guide_ID Package_ID Sup_ID

Description of Attribute Program Identifier Name of Program Length of Program (time - in minutes) Description of Program Rating of Program

Data Type Number VarChar2 Number VarChar2 VarChar2 Number Number Number

Length 10 50 4 100 50 10 10 10

Package Package_ID Package_Name Package_Price Guide_ID Channel Chan_Number Chan_Type Chan_Name Chan_Favorite Channel Identifier Type of Channel Number VarChar2 2 35 25 10 Package Identifier Name of Package Price of Package Number VarChar2 Number Number 10 25 3 10

Name of Channel VarChar2 Number of Customers who picked Number this as their favorite channel

Package_Channel Package_ID Chan_Number Program_Channel Chan_Number Prog_ID Program_StartTime Program_EndTime Customer Cust_ID Cust_FName Cust_LName Cust_StreetAdd Cust_City Cust_State Cust_Zip Customer Identifier Customer First Name Customer Last Name Customer Street Address Customer City Customer State Customer Zip Number VarChar2 VarChar2 VarChar2 VarChar2 Char Number 10 25 35 60 30 2 9 Package Identifier Channel Identifier Number Number 10 2

Channel Identifier Program Identifier

Number Number VarChar2 VarChar2

2 10 10 10

Cust_Phone Cust_Email Cust_AquisitionDate Cust_Active Cust_InactiveDate Cust_Inactive_Reason Emp_ID Guide_ID Package_ID Employee Emp_ID Emp_FName Emp_LName Survey Survey_ID Survey_Date Chan_Number Cust_ID Billing Bill_ID Bill_DueDate Bill_Amount Bill_Paid Bill_PaidDate Bill_Delinquent Cust_ID Supplier Sup_ID Sup_Name Sup_StreetAdd Sup_City Sup_State Sup_Zip Sup_Contact Sup_Phone

Customer Phone Number Customer Email Date Customer signed contract for service Identifier on whether Customer is active Date customer was set to "Inactive" Reason why Customer was set to Inactive

VarChar2 VarChar2 Date Char Date VarChar2 Number Number Number

10 50

50 6 10 10

Employee Identifier Employee First Name Employee Last Name

Number VarChar2 VarChar2

6 25 35

Survey Identifier Date Customer was surveyed for Favorite Channel Customer's Favorite Channel

Number Date Number Number

2 10

Bill Identifier Date Customer's Bill is Due Amount Customer owes Date Customer paid Bill

Number Date Number Varchar2 Date Varchar2 Number

6 6 10 10 10

Supplier Identifier Name of Company Street Address of Supplier Supplier City Supplier State Supplier Zip Code Name of contact at Supplier Company Phone number

Number VarChar2 VarChar2 VarChar2 Char Number VarChar2 VarChar2

10 50 25 20 2 9 100 10

Weekly_Guide Guide_ID GuideDate Number Date 10

Not Null

PK Y

FK

Default Check Constraint Value

Y Y

Y Y Y

Y Y Y Y Movies Galore, News Globe, Total Watcher, Couch Potato

Y Movie, News, Lifestyle, Documentary, Sport

Y Y

Y Y

Y Y

Y Y

Y/N

Y Y Y

Y Y