【文章內(nèi)容簡介】
dits decimal not null, TID int not null, constraint PK_COURSES primary key (C_ID))go/*==============================================================*//* : Dep *//*==============================================================*/create table Dep ( DID int not null, DName nvarchar(20) not null, constraint PK_DEP primary key (DID))/*==============================================================*//* : Manager *//*==============================================================*/create table Manager ( MID int not null, MName nvarchar(20) not null, MPwd char(10) not null, constraint PK_MANAGER primary key (MID))/*==============================================================*//* : News *//*==============================================================*/create table News ( NID int not null, NTitle nvarchar(200) not null, NCon text not null, NTime smalldatetime not null, TID int null, constraint PK_NEWS primary key (NID))/*==============================================================*//* : SC *//*==============================================================*/create table SC ( Sno varchar(20) null, C_ID int null, 成績 smallint null)/*==============================================================*//* : SClass *//*========================