commit
Showing
1 changed file
with
3 additions
and
12 deletions
| 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 | ... | ... |
-
Please register or sign in to post a comment