赞
踩
实现功能:
对于学生而言可以实现选课功能,日常学习中,我们选课的时候,需要登陆自己的学号,密码,然后进行选课,选课的时候,会有老师的信息,课程号,课程名,授课老师,等。
学生的信息应该有
(学号,姓名,性别,系别,年龄,入学时间,专业,登陆密码)
教师的信息应该有
(教室工号,姓名,性别,密码,职称,所在系院,课程号)
课程表
(课程号,课程名,先修课号,学分)
学生选课
(学号,课程号,成绩)
授课表
(教室工号,课程号,上课地点,上课时间)
学生课表
(学号,已选课号,上课时间,上课地点)
create database students charset utf8;
create table stu_info (
stu_id int not null auto_increment primary key,
stu_name char(30) not null default '',
stu_sex char(1) not null default '',
stu_depar char(30) not null default '',
stu_age tinyint(3) not null default 0,
stu_time date,
stu_maj char(30) not null default '',
stu_pas char(30) not null default ''
)engine myisam charset utf8;
create table tea_info (
teacher_id int not null auto_increment primary key,
teacher_name char(30) not null default '',
teacher_sex char(30) not null default '',
<Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。