Quote:
|
I currently have my mysql set up as the table being named "camp1" "camp2" "camp3" or whatever. Each campaign is a different set of questions. In the table camp1 i have the following rows: Question, answer1, answer2, answer3, answer4
|
Almost surely bad DB design. You should NEVER have multiple tables with identical structures and contents that differ only in who or what they belong to.
You should have *ONE* table with questions for all campaigns. Use a single field in that table to designate which campaign each question is for.
Quote:
|
In the table camp1 i have the following rows: Question, answer1, answer2, answer3, answer4
|
No. You have the "following columns" or, better, "following fields". One "row" (better called "record") holds one instance each of those fields.
It's really a bad idea to talk about "rows" and "columns" in a database; it makes you think you are working with a spreadsheet, not a database. It's certainly not wrong to do so, but I think it's better to use "records" and "fields" to clearly distinguish a database table from a spreadsheet table. There *are* things you can do in spreadsheets that you can't do in databases and vice versa.
The very fact that you have multiple tables named "camp1", "camp2", etc., kind of confirms that you are thinking of spreadsheets, not databases.