兼职中介管理系统

兼职中介管理系统 兼职中介管理系统登录注册界面

兼职中介管理系统mysql数据库版本源码:

超级管理员表创建语句如下:


create table t_admin(id int primary key auto_increment comment '主键',username varchar(100) comment '超级管理员账号',password varchar(100) comment '超级管理员密码'
) comment '超级管理员';
insert into t_admin(username,password) values('admin','123456');

订单详情表创建语句如下:


create table t_orderlist(id int primary key auto_increment comment '主键',bookName varchar(100) comment '书名',price double comment '价格',num int comment '数量'
) comment '订单详情';

收藏表创建语句如下:


create table t_sc(id int primary key auto_increment comment '主键',pic varchar(100) comment '图片',outDate datetime comment '出版日期',onlyNum int comment '唯一号'
) comment '收藏';

评论表创建语句如下:


create table t_pinglun(id int primary key auto_increment comment '主键',updateBook datetime comment '更新时间',content text comment '内容',remark text comment '备注',fileUrl varchar(100) comment '文件'
) comment '评论';

书表创建语句如下:


create table t_book(id int primary key auto_increment comment '主键',customerId int comment '用户',orderId int comment '订单',productId int comment '菜品',customerId int comment '用户',phone varchar(100) comment '联系方式',content varchar(100) comment '内容',insertDate datetime comment '日期',customerId int comment '用户',productId int comment '产品',insertDate datetime comment '日期'
) comment '书';

建议表创建语句如下:


create table t_contact(id int primary key auto_increment comment '主键',wdxxId int comment '评论信息',customerId int comment '评论人',content varchar(100) comment '评论内容',insertDate datetime comment '评论日期'
) comment '建议';

兼职中介管理系统oracle数据库版本源码:

超级管理员表创建语句如下:


create table t_admin(id integer,username varchar(100),password varchar(100)
);
insert into t_admin(id,username,password) values(1,'admin','123456');
--超级管理员字段加注释
comment on column t_admin.id is '主键';
comment on column t_admin.username is '超级管理员账号';
comment on column t_admin.password is '超级管理员密码';
--超级管理员表加注释
comment on table t_admin is '超级管理员';

订单详情表创建语句如下:


create table t_orderlist(id integer,bookName varchar(100),price double,num int
);
--订单详情字段加注释
comment on column t_orderlist.id is '主键';
comment on column t_orderlist.bookName is '书名';
comment on column t_orderlist.price is '价格';
comment on column t_orderlist.num is '数量';
--订单详情表加注释
comment on table t_orderlist is '订单详情';

收藏表创建语句如下:


create table t_sc(id integer,pic varchar(100),outDate datetime,onlyNum int
);
--收藏字段加注释
comment on column t_sc.id is '主键';
comment on column t_sc.pic is '图片';
comment on column t_sc.outDate is '出版日期';
comment on column t_sc.onlyNum is '唯一号';
--收藏表加注释
comment on table t_sc is '收藏';

评论表创建语句如下:


create table t_pinglun(id integer,updateBook datetime,content text,remark text,fileUrl varchar(100)
);
--评论字段加注释
comment on column t_pinglun.id is '主键';
comment on column t_pinglun.updateBook is '更新时间';
comment on column t_pinglun.content is '内容';
comment on column t_pinglun.remark is '备注';
comment on column t_pinglun.fileUrl is '文件';
--评论表加注释
comment on table t_pinglun is '评论';

书表创建语句如下:


create table t_book(id integer,customerId int,orderId int,productId int,customerId int,phone varchar(100),content varchar(100),insertDate datetime,customerId int,productId int,insertDate datetime
);
--书字段加注释
comment on column t_book.id is '主键';
comment on column t_book.customerId is '用户';
comment on column t_book.orderId is '订单';
comment on column t_book.productId is '菜品';
comment on column t_book.customerId is '用户';
comment on column t_book.phone is '联系方式';
comment on column t_book.content is '内容';
comment on column t_book.insertDate is '日期';
comment on column t_book.customerId is '用户';
comment on column t_book.productId is '产品';
comment on column t_book.insertDate is '日期';
--书表加注释
comment on table t_book is '书';

建议表创建语句如下:


create table t_contact(id integer,wdxxId int,customerId int,content varchar(100),insertDate datetime
);
--建议字段加注释
comment on column t_contact.id is '主键';
comment on column t_contact.wdxxId is '评论信息';
comment on column t_contact.customerId is '评论人';
comment on column t_contact.content is '评论内容';
comment on column t_contact.insertDate is '评论日期';
--建议表加注释
comment on table t_contact is '建议';

oracle特有,对应序列如下:


create sequence s_t_orderlist;
create sequence s_t_sc;
create sequence s_t_pinglun;
create sequence s_t_book;
create sequence s_t_contact;

兼职中介管理系统sqlserver数据库版本源码:

超级管理员表创建语句如下:


--超级管理员
create table t_admin(id int identity(1,1) primary key not null,--主键username varchar(100),--超级管理员账号password varchar(100)--超级管理员密码
);
insert into t_admin(username,password) values('admin','123456');

订单详情表创建语句如下:


--订单详情表注释
create table t_orderlist(id int identity(1,1) primary key not null,--主键bookName varchar(100),--书名price double,--价格num int--数量
);

收藏表创建语句如下:


--收藏表注释
create table t_sc(id int identity(1,1) primary key not null,--主键pic varchar(100),--图片outDate datetime,--出版日期onlyNum int--唯一号
);

评论表创建语句如下:


--评论表注释
create table t_pinglun(id int identity(1,1) primary key not null,--主键updateBook datetime,--更新时间content text,--内容remark text,--备注fileUrl varchar(100)--文件
);

书表创建语句如下:


--书表注释
create table t_book(id int identity(1,1) primary key not null,--主键customerId int,--用户orderId int,--订单productId int,--菜品customerId int,--用户phone varchar(100),--联系方式content varchar(100),--内容insertDate datetime,--日期customerId int,--用户productId int,--产品insertDate datetime--日期
);

建议表创建语句如下:


--建议表注释
create table t_contact(id int identity(1,1) primary key not null,--主键wdxxId int,--评论信息customerId int,--评论人content varchar(100),--评论内容insertDate datetime--评论日期
);


本文来自互联网用户投稿,文章观点仅代表作者本人,不代表本站立场,不承担相关法律责任。如若转载,请注明出处。 如若内容造成侵权/违法违规/事实不符,请点击【内容举报】进行投诉反馈!

相关文章

立即
投稿

微信公众账号

微信扫一扫加关注

返回
顶部