| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> comp.databases.theory -> Re: Demo: Db For Dummies
> Are you seriously considering changing the name of your product? > How about "Db for Idiots created by Dummies", or IDb (IdiotDb for > short).
While the XDb2 scripts appears simple enough for dummies, it creates the equivalent of the following RM schema (actually it further normalizes the strings in the name columns of various tables, and then normalizes the symbols across all strings). I have used "->" notation instead of ID values to make it easier to follow. Not that RM can't, but if you're unable to post RM's equivalent (normalized/NULL-less) script/queries, then IDb may be appropriate.
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
For something more challenging try posting RM's equivalent script/queries for the example post in thread titled "Demo: John, Mary and R2D2" (or at www.xdb2.com/example/ex113.asp) Received on Tue Nov 16 2004 - 11:04:31 CST
![]() |
![]() |