代码拉取完成,页面将自动刷新
同步操作将从 chao-work/springcloud 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
# 数据库1
create database db01;
use db01;
create table dept(
deptno bigint primary key not null auto_increment,
dname varchar(60),
db_source varchar(60)
);
alter table dept comment ='部门表';
insert into dept (dname, db_source) value ('开发部',database());
insert into dept (dname, db_source) value ('人事部',database());
insert into dept (dname, db_source) value ('财务部',database());
insert into dept (dname, db_source) value ('市场部',database());
insert into dept (dname, db_source) value ('运维部',database());
select * from db01.dept;
# 数据库2
create database db02;
use db02;
create table dept(
deptno bigint primary key not null auto_increment,
dname varchar(60),
db_source varchar(60)
)ENGINE =INNODB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8 COMMENT ='部门表';
insert into dept (dname, db_source) value ('开发部',database());
insert into dept (dname, db_source) value ('人事部',database());
insert into dept (dname, db_source) value ('财务部',database());
insert into dept (dname, db_source) value ('市场部',database());
insert into dept (dname, db_source) value ('运维部',database());
select * from db02.dept;
# 数据库3
create database db03;
use db03;
create table dept(
deptno bigint primary key not null auto_increment,
dname varchar(60),
db_source varchar(60)
)ENGINE =INNODB AUTO_INCREMENT=12 DEFAULT CHARSET=utf8 COMMENT ='部门表';
insert into dept (dname, db_source) value ('开发部',database());
insert into dept (dname, db_source) value ('人事部',database());
insert into dept (dname, db_source) value ('财务部',database());
insert into dept (dname, db_source) value ('市场部',database());
insert into dept (dname, db_source) value ('运维部',database());
select * from db03.dept;
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。