=============================================*/
/* Table : type */
/*==============================================================*/
create table type (
type_id char(1) null,
type_name char(15) null
)
go
/*==============================================================*/
/* Table : user_load */
/*==============================================================*/
create table user_load (
user_id int not null,
user_name char(15) null,
user_psw char(10) null,
user_flag char(20) null,
constraint PK_USER_LOAD primary key (user_id)
)
go
/*==============================================================*/
/* Table : wage */
/*==============================================================*/
create table wage (
staff_id char(10) not null,
staff_bwage money null,
overwork_money money null,
bonus money null,
gothers money null,
gtotal money null,
abs_money money null,
leave_money money null,
welfare_money money null,
kothers money null,
ktotal money null,
total money null,
constraint PK_WAGE primary key (staff_id)
)
go
/*==============================================================*/
/* Table : wagepay */
/*==============================================================*/
create table wagepay (
pay_id char(