Hi, Roland,
I suppose you had a look at the database structure before by phpMyAdmin or another tool.
Main tables for reportings can be: (here I use "ls" as prefix)
ls_answers:
Here you find all answer options and subquestions by questionID.
ls_questions:
questions and subquestions by questionID (parentID is the questionID, if there are subquestions (arrays, etc)
ls_survey_[surveyID]
This is the only table I use for reporting.
All answers, columns in SQGA with added subquestion codes in arrays.
Here:
928932X183X20282:
surveyID: 928932
groupID: 183
questionID: 20282
928932X183X20283SQ001
subquestioncode: SQ001 (arrays)
928932X183X20284SQ001_SQ003
subquestioncode x-axis: SQ001 (arrays(number)
subquestioncode y-axis: SQ003
Always the best: create a small survey, enter well defined data and analyse this table.
All the best
Joffm