Commit b9097319 b909731976984b5b2c0f9c7e97cd0487706da513 by zhanghao

commit

1 parent 55cf9a15
1 use testdb; 1 use testdb;
2 select count(1) from qa_log;
3 select count(1) from qa_log where rest='ok' and status='200' and code='0';
4 select count(1) from qa_log where rest!='ok' or status!='200' or code!='0';
5
6
7 select count(1) from qa_log where status='200';
8 select count(1) from qa_log where status!='200';
9
10
11
12 select count(1) from qa_log where code='0';
13 select count(1) from qa_log where code!='0';
...\ No newline at end of file ...\ No newline at end of file
2 select count(1) from qa_log where requestUri like concat('%','gateway.do','%');
3 select count(1) from qa_log where requestUri like concat('%','gateway.do','%') and (status like '200' and code like '0');
4 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 ...\ No newline at end of file
......