SQL基本操作
create database test
-- 创建学生表 Student
create table Student(Sno char(12) primary key,
Sname char(8) unique,
Age smallint,
Sex char(2))
-- 创建学生选课表 Sc
create table Sc(Sno char(12),
Cno char(4),
Grade smallint,
Primary ke.
原创
2021-10-29 10:06:52 ·
304 阅读 ·
0 评论