Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
script
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
姚闰伍
script
Commits
3376e3b5
Commit
3376e3b5
authored
Jan 18, 2019
by
蘑菇🍄
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
01e4d7ee
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
合并会员临时表.sql
jnby-less/合并会员临时表.sql
+7
-6
No files found.
jnby-less/合并会员临时表.sql
View file @
3376e3b5
-- 会员信息集合
CREATE
TABLE
tab_gic_member_less
LIKE
`gic3.0`
.
tab_gic_member_0
;
--
CREATE TABLE tab_gic_member_less LIKE `gic3.0`.tab_gic_member_0;
delete
from
`gic3.0`
.
tab_gic_member_less
;
insert
into
`gic3.0`
.
tab_gic_member_less
select
*
from
`gic3.0`
.
tab_gic_member_0
where
enterprise_id
=
'ff8080816170e8990161f66a272a5fe4'
;
insert
into
`gic3.0`
.
tab_gic_member_less
select
*
from
`gic3.0`
.
tab_gic_member_1
where
enterprise_id
=
'ff8080816170e8990161f66a272a5fe4'
;
insert
into
`gic3.0`
.
tab_gic_member_less
select
*
from
`gic3.0`
.
tab_gic_member_2
where
enterprise_id
=
'ff8080816170e8990161f66a272a5fe4'
;
...
...
@@ -18,8 +18,8 @@ insert into `gic3.0`.tab_gic_member_less select * from `gic3.0`.tab_gic_member
-- 会员信息集合
CREATE
TABLE
tab_gic_member_personal_less
LIKE
`gic3.0`
.
tab_gic_member_personal_0
;
--
CREATE TABLE tab_gic_member_personal_less LIKE `gic3.0`.tab_gic_member_personal_0;
delete
from
`gic3.0`
.
tab_gic_member_personal_less
;
insert
into
`gic3.0`
.
tab_gic_member_personal_less
select
*
from
`gic3.0`
.
tab_gic_member_personal_0
where
enterprise_id
=
'ff8080816170e8990161f66a272a5fe4'
;
insert
into
`gic3.0`
.
tab_gic_member_personal_less
select
*
from
`gic3.0`
.
tab_gic_member_personal_1
where
enterprise_id
=
'ff8080816170e8990161f66a272a5fe4'
;
insert
into
`gic3.0`
.
tab_gic_member_personal_less
select
*
from
`gic3.0`
.
tab_gic_member_personal_2
where
enterprise_id
=
'ff8080816170e8990161f66a272a5fe4'
;
...
...
@@ -32,8 +32,9 @@ insert into `gic3.0`.tab_gic_member_personal_less select * from `gic3.0`.tab_g
insert
into
`gic3.0`
.
tab_gic_member_personal_less
select
*
from
`gic3.0`
.
tab_gic_member_personal_9
where
enterprise_id
=
'ff8080816170e8990161f66a272a5fe4'
;
-- 会员信息集合
CREATE
TABLE
tab_gic_member_clerk_less
LIKE
`gic3.0`
.
tab_gic_member_clerk_0
;
--
CREATE TABLE tab_gic_member_clerk_less LIKE `gic3.0`.tab_gic_member_clerk_0;
delete
from
`gic3.0`
.
tab_gic_member_clerk_less
;
insert
into
`gic3.0`
.
tab_gic_member_clerk_less
select
*
from
`gic3.0`
.
tab_gic_member_clerk_0
where
enterprise_id
=
'ff8080816170e8990161f66a272a5fe4'
;
insert
into
`gic3.0`
.
tab_gic_member_clerk_less
select
*
from
`gic3.0`
.
tab_gic_member_clerk_1
where
enterprise_id
=
'ff8080816170e8990161f66a272a5fe4'
;
insert
into
`gic3.0`
.
tab_gic_member_clerk_less
select
*
from
`gic3.0`
.
tab_gic_member_clerk_2
where
enterprise_id
=
'ff8080816170e8990161f66a272a5fe4'
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment