I was told on another forum that my table was not set up properly. Specifically, two of my columns, "keywords" and "catagory" should be in child tables. I just dont see that, or I dont understand why I would need to do this for these columns. here is my info from a SHOW CREATE table:
rlbbulbs CREATE TABLE `rlbbulbs` (
`bulbID` int(11) NOT NULL AUTO_INCREMENT,
`brandID` int(11) NOT NULL,
`item` char(255) DEFAULT NULL,
`bulbDesc` longtext,
`price` char(255) DEFAULT NULL,
`qtyPerPrice` char(255) DEFAULT NULL,
`wattage` char(255) DEFAULT NULL,
`voltage` char(255) DEFAULT NULL,
`base` char(255) DEFAULT NULL,
`glass` char(255) DEFAULT NULL,
`filament` char(255) DEFAULT NULL,
`avgLife` char(255) DEFAULT NULL,
`beamAngle` char(255) DEFAULT NULL,
`catagory` char(255) DEFAULT NULL,
`keyWords` longtext,
`image1` char(255) DEFAULT NULL,
PRIMARY KEY (`bulbID`),
KEY `item` (`item`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=1595 DEFAULT CHARSET=latin1
I was trying to find information on child tables. The problem I am having though is that the column "keywords" are for meta tag keywords my employer uses for google search. They are a list of keywords and phrases, alphanumeric, and vary from record to record.
If I were to follow what I think the other forum is suggestion, I would need to put each keyword in a separate table or column? Am I wrong on this point? Do I need a child table for the keywords column?
Catagory column I could actually see in a child table. As each bulb is in a category. Now I dont know for sure if a bulb can be in two or more catagories, so I would need to further research this.
Thanks for any help in advance!