学生选课数据库SQL语句练习题——成绩表
生活随笔
收集整理的這篇文章主要介紹了
学生选课数据库SQL语句练习题——成绩表
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
表(三)Score(成績表)
| 屬性名 | 數據類型 | 可否為空 | 含 義 |
| Sno | Varchar2(3) | 否 | 學號(外鍵) |
| Cno | Varchar2(5) | 否 | 課程號(外鍵) |
| Degree | Number(4,1) | 可 | 成績 |
| 主鍵:Sno+ Cno | |||
?
?
-- Create table create table SCORE (sno VARCHAR2(3) not null,cno VARCHAR2(5) not null,degree NUMBER(4,1) ) tablespace TESTpctfree 10initrans 1maxtrans 255; -- Add comments to the table comment on table SCOREis '成績表'; -- Add comments to the columns comment on column SCORE.snois '學號'; comment on column SCORE.cnois '課程號'; comment on column SCORE.degreeis '成績';?
轉載于:https://www.cnblogs.com/jakeasd/p/5567368.html
總結
以上是生活随笔為你收集整理的学生选课数据库SQL语句练习题——成绩表的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: xml 转map dom4j
- 下一篇: xpath技术,用在dom4j中