The products are books (there are more than 7,000) and they can have common keywords, eg., photography, architecture, fashion, etc., etc. I intend just to have eg. a photography table with the numbers of the books which have photography as one of their keywords. Get it?
Being an sql newbie I’m experimenting with this and that.
The 1 column table is because I have products (books) in the main table and each one can have several keywords. The idea is to have a keyword table with just the booknumbers to make the link for searches etc. Hope that’s clear.
I prefer the second option, but none of the options is “better” than the other, just different.
PS. Note that INT(6) only makes sense if you use the zerofill option. Otherwise just specify INT.
PPS. What is the table for? A table with just one column indicates to me that you might be doing something wrong.