This question is an exact duplicate:
You need to create a database in which to store jobs. Some of these tasks are questions on the establishment of correspondence between something. Tell me how to organize the storage of such data in the database? 
This question is an exact duplicate:
You need to create a database in which to store jobs. Some of these tasks are questions on the establishment of correspondence between something. Tell me how to organize the storage of such data in the database? 
This question has been marked as a duplicate of an existing one.
I think you can store in the table type
Field Type Null ID int NO P_ID int YES .... And for all sub-questions fill in P_ID equal to ID - the main question.
Create 2 tables with a one-to-many connection - questions will be stored in one table, answers in another table will be linked to the question by identifier in the question table
Source: https://ru.stackoverflow.com/questions/506190/
All Articles