php选择题数据库如何设计
php选择题数据表可以设计如下:
e-r图
选择题数据表
列名
说明
数据类型
约束
choiceqst_id
试题号
tinyint
not null identity(1, 1) primary key
choiceqst_question
题型号
int
not null
foreign key
choiceqst_info
内容
text
not null
choiceqst_op1
操作1
text
not null
choiceqst_op2
操作2
text
not null
choiceqst_op3
操作3
text
not null
choiceqst_op4
操作4
text
not null
choiceqst_answ
答案
char
not null
更多php相关知识,请访问!
以上就是php选择题数据库如何设计的详细内容。