Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
dankal-data-view
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
仲光辉
dankal-data-view
Commits
9fb5d900
Commit
9fb5d900
authored
Feb 22, 2023
by
仲光辉
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: add sql.
parent
6450aeaf
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
0 deletions
+13
-0
常用SQL备份.sql
常用SQL备份.sql
+13
-0
线上数据修正SQL记录.sql
线上数据修正SQL记录.sql
+0
-0
No files found.
常用SQL备份.sql
0 → 100644
View file @
9fb5d900
###
到访人数据查询
###
到访人数据查询
SELECT
cc
.
uuid
opportunity_contact_uuid
,
cc
.
NAME
opportunity_contact_name
,
o
.
uuid
opportunity_uuid
,
o
.
NAME
opportunity_name
,
cc
.
phone
FROM
company_contacts
cc
JOIN
opportunity
o
ON
cc
.
opportunity_uuid
=
o
.
uuid
AND
o
.
is_delete
=
0
WHERE
cc
.
is_delete
=
0
AND
cc
.
phone
=
'18516698042'
ORDER
BY
cc
.
sort
,
cc
.
uuid
\ No newline at end of file
线上数据修正SQL记录.sql
View file @
9fb5d900
This diff is collapsed.
Click to expand it.
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