怎么设计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选择题数据库表问题的解答就分享到这里了,希望以上内容可以对大家有一定的帮助,如果你还有很多疑惑没有解开,可以关注天达云行业资讯频道了解更多相关知识。