| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> comp.databases.theory -> Re: Demo: Db For Dummies
While the XDb2 scripts appears simple enough for dummies, it creates
the equivalent of the following RM schema (actually it further
normalizes the name column of various tables, and then normalizes the
symbols across all names). I have used "->" notation instead of ID
values to make it easier to follow:
T_Person
name skin hair
---- -------------- ---- john ->black ->red,blue mary ->white,smooth ->red,silky,smooth
T_Skin
ID
T_SkinColor (each skin can have any number of colors)
skin color ---- ------->white,smooth ->white
->black ->black
T_SkinTexture (each skin can have any number of textures)
skin texture
------------ --------
->white,smooth ->smooth
T_Hair
ID
T_HairColor (each hair can have any number of colors)
hair color ------------------ -------->red,silky,smooth ->red
->red,blue ->red
->red,blue ->blue
T_HairTexture (each hair can have any number of textures)
hair texture ------------------ -----
T_Color
name
T_Texture
name
That XDb2's simple script creates a schema similar to above can be corroborated by looking at the same things in the tree view at www.xdb2.com/example/ex005.asp
When one compares RM's script/queries to XDb2's, it is easy to see why it is for Dummies, and RM is not. Received on Sun Nov 14 2004 - 20:52:34 CST
![]() |
![]() |