Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
傅伟强-富德
/
test1
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 8f362738
authored
Aug 22, 2018
by
傅伟强-富德
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update sql
1 parent
f8d11273
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
0 deletions
sql
sql
View file @
8f36273
...
...
@@ -60,3 +60,21 @@ update GRAS_DEPT_SERVICER
AND p.policy_no = e.policy_no
AND e.prod_seq = 1
AND e.product_code not in('CBAN_TN1','CBAN_UN1','CBAN_VN1');
select di.dept_no,bcr.branch_code,gbe.bank_code from
department_info di
inner join branch_info bi on di.branch_code=bi.branch_code
inner join branch_code_relation bcr on bi.branch_code=bcr.branch_code
left join gras_bank_emp gbe on di.dept_no=gbe.bank_code
where
di.channel_type='02'
and bcr.relative_grade>-1
and gbe.bank_code is null
and bcr.relative_branch_code='865100';
Write
Preview
Markdown
is supported
Attach a file
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 post a comment