After reading up on databases and how to set them up, its key to break up the database into sections. I understand that and how to make foreign keys.
I have created one database with 12 tables. Some of the tables are not connected to each other. Others I want to connect.
Right now I am working with the Company Index table that has 9 fields.
This table is the main table and the other tables have the companyName and companyID as the foreign key.
The 2nd table is the options table. I would like to use this as a switch to turn on an icon or off. optionTwitter,optionFacebook,optionWebpage,optionRank and optionLevel.
I would like to add data in the Company Index table and have each and every table with the companyName and companyID to update.
Does this make sense and the correct way to do this?