日期:2013-05-28  浏览次数:21020 次

打开Access,创建数据库文件testsys.mdb,在数据库中创建一系列的表

teacherinfo:用于存储教师信息
字段:
teachname  文本
teachid    文本

studentinfo:用于存储学生信息
字段:
stname     文本
stid       文本

subinfo:用于存储考试科目
字段
sub        文本
teachid    文本
testtime   数字
testnum    数字

question:用于存储考题内容及答案
字段
questionid 自动编号
question   备注
A          文本
B          文本
C          文本
D          文本
answer     文本
sub        文本
teachid    文本

score:用于存储学生考试成绩
字段
stid       文本
sub        文本
score      数字
teachid    文本

tbanswer:用于存储考试时学生选择的答案
字段
answer     文本
stid       文本
questionid 数字