Quantcast
Channel: dBforums – Everything on Databases, Design, Developers and Administrators
Viewing all articles
Browse latest Browse all 13329

best db table design for 107 question 'questionnaire'

$
0
0
Hi all, just need a bit of advice on database design. I understand database design but haven't done it in a while so here's the need:

I need to store the answers to 107 questions. Each question will have a yes answer and a no answer, but the no answer then follows with a followup question. Most of the questions will go 2 (possibly) 3 levels down (2nd and 3rd question but not all.

My employees will pull up the questionnaire to fill out the answers given by the clients (they'll select the drop down associated with the question as yes or no. In the end, we can pull a report based on the customer's id and the answers associated with it.

Would this be the most obvious design:

1. table for employee info
2. table for customer info
3. table for list of questions (essentially 107 rows... lookup table?)
4. table for 2nd level questions
5. table for 3rd level questions

Would I need a table just for the answers to the questions associated with a specific client?

Any direction to move in (if I'm way off) is greatly appreciated!

Thanks,

James...

Viewing all articles
Browse latest Browse all 13329

Trending Articles