NULL
Email VARCHAR
(30), Not
NULLAge INTEGER^Gender
Male,
Female, UnkRaceVARCHAR(10)
Eye_ColorVARCHAR(15)
Hair_ColorVARCHAR(15)
Fav_ActivityVARCHAR(30)
Fav_Movie VARCHAR(30)^OccupationVARCHAR(50)
Smoker
Yes, No, UnkTable 21.2 The Ads Table
Characteristic Data TypeAd_Text
TEXT, Not
NULLDate_PostedDATETIME,
Not NULLTable 21.3 The Products Table
Characteristic Data TypeNameVARCHAR(30),
Not NULLDescriptionVARCHAR(255),
Not NULLPrice FLOAT(10,2),
Not NULLManufacturerVARCHAR(50),
Not NULLPictureVARCHAR(50),
Not NULLTable 21.4 The Orders Table
Characteristic Data TypeOrder_Date DATETIME,
Not NULLQuantity
INTEGER, Not
NULLProductVARCHAR(30),
Not NULLCustomer VARCHAR(30),
Not NULLAmount_DueFLOAT(10,2),
NOT NULL
Payment_Received
Yes or NoNow that the objects are described and the business rules have been established, it's time to turn your
objects into tables by adding a key to each table and performing some normalization.