SQL2000数据库查询讲解001--基本表的建立

来源:互联网 发布:淘宝怎么上货 编辑:程序博客网 时间:2024/06/05 07:15

建立三个基本表,学生表:student   ( sno,sname,ssex,sage,sdept)

                                课程表:course    ( cno,cname,cpno,credit)

                                选课表:sc             (sno,cno,grade)

(一)学生表的内容如下:

结构如下:

 

(二)课程表的内容如下

结构如下:

 

(三)选课表的内容如下:

结构如下:

 

 

                                 

0 0
原创粉丝点击