Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
张浩
/
BrBigDataTest
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
b9097319
...
b909731976984b5b2c0f9c7e97cd0487706da513
authored
2021-04-15 16:01:55 +0800
by
zhanghao
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
commit
1 parent
55cf9a15
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
12 deletions
shell/select.hql
shell/select.hql
View file @
b909731
use testdb;
select count(1) from qa_log;
select count(1) from qa_log where rest='ok' and status='200' and code='0';
select count(1) from qa_log where rest!='ok' or status!='200' or code!='0';
select count(1) from qa_log where status='200';
select count(1) from qa_log where status!='200';
select count(1) from qa_log where code='0';
select count(1) from qa_log where code!='0';
\ No newline at end of file
select count(1) from qa_log where requestUri like concat('%','gateway.do','%');
select count(1) from qa_log where requestUri like concat('%','gateway.do','%') and (status like '200' and code like '0');
select count(1) from qa_log where requestUri like concat('%','gateway.do','%') and (status not like '200' or code not like '0');
\ No newline at end of file
...
...
Please
register
or
sign in
to post a comment