I just all depends on what it is you are using the above for. I like keeping my column names simple (and easy for me to remember), but also to where I still know what they are going to be used for. Very similar to what you have above is probably the way I would go about creating the database. The only thing that I see above that would be a problem (and I assume you editted these out for easier readability), VARCHAR would need to have the value/length value. And also the comp_id (unless you will be manually updating the id everytime you add info to the db), you may want to set it to auto_increment.
Example:
Code:
comp_id INT(5) auto_increment PRIMARY KEY
comp_name VARCHAR(200)
Other than that; as said above, it all depends on the use for the database that the structure should be based upon.
Hope this helps.
Bookmarks