php选择题数据库如何设计
来源:动视网
责编:小采
时间:2020-11-03 23:11:45
php选择题数据库如何设计
php选择题数据库如何设计:php选择题数据库如何设计php选择题数据表可以设计如下:E-R图选择题数据表列名说明数据类型约束ChoiceQst_id试题号tinyintnot null IDENTITY(1, 1) primary keyChoiceQst_Question题型号intnot nullforeign keyChoiceQst
导读php选择题数据库如何设计:php选择题数据库如何设计php选择题数据表可以设计如下:E-R图选择题数据表列名说明数据类型约束ChoiceQst_id试题号tinyintnot null IDENTITY(1, 1) primary keyChoiceQst_Question题型号intnot nullforeign keyChoiceQst

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中文网!
php选择题数据库如何设计
php选择题数据库如何设计:php选择题数据库如何设计php选择题数据表可以设计如下:E-R图选择题数据表列名说明数据类型约束ChoiceQst_id试题号tinyintnot null IDENTITY(1, 1) primary keyChoiceQst_Question题型号intnot nullforeign keyChoiceQst