...
创建表 创建学生表,分数表和课程表 create table student sid int primary key not null, sname char not null, age int not null, sex char not null, department char , address char , birthplace varchar create table sc sid i ...
2019-08-12 14:23 0 3325 推荐指数:
...
数据库实验(学生信息表) 目录 数据库实验(学生信息表) 实验一 实验二 实验三 实验四 实验一 创建数据库以及学生信息表、课程信息表、选课表 实验二 (1)分别向三个表中插入以下数据 ...
练习1 练习2 练习3 ...
1、整理博客 2、创建一个stu表,字段有:自增主键id,不为空姓名,默认值性别(枚举类型),无限制身高 create table stu( id int primary key auto_increment, name varchar(16) not null, gender enum ...
学生表:包括学号,姓名,性别,年龄,专业 create table student ( student_id varchar(7)primary key, student_name varchar(10)not null, student_sex varchar(2) check ...
数据库中有如下三个表: 学生表(学号,姓名,性别,系部,年龄)选课表(学号,课程号,成绩)课程表(课程号,课程名,学分) (1)、写出创建以上三个表的sq语句 (2)、从选课表中查询所有选课信息,即学号、课程号、成绩,并给成绩加8分 (3)、从选课表中查询选修课程号C02且该]课程考试及格 ...
SQL脚本: Student表 Course表 ...
MySQL创建表: 表(一)Student (学生表): 执行以下代码,插入数据; =================== 表(二)Course(课程表): 执行以下代码,插入数据; =================== 表 ...