Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
This query is marked as a draft
This query has been published
by
Zache
.
Toggle Highlighting
SQL
use fiwiki_p; SELECT L!.d, l1_c, sb_c, ac FROM ( SELECT floor(log_timestamp/10000000000) as d, sum(1) as l1_c FROM logging_userindex WHERE log_user_text='SeulojaBot' AND log_action IN('approve', 'approve2') AND log_type='review' GROUP BY d ) AS L1, ( SELECT floor(log_timestamp/10000000000) as d, sum(1) as sb_c FROM logging_userindex WHERE log_user_text!='SeulojaBot' AND log_action IN('approve', 'approve2') AND log_type='review' GROUP BY d ) AS L2, ( SELECT floor(log_timestamp/10000000000) as d, sum(1) as ac FROM logging_userindex WHERE log_action IN('approve-a', 'approve2-a') AND log_type='review' GROUP BY d ) AS A1 WHERE L1.d=L2.d AND L1.d=A1.d
By running queries you agree to the
Cloud Services Terms of Use
and you irrevocably agree to release your SQL under
CC0 License
.
Submit Query
Stop Query
All SQL code is licensed under
CC0 License
.
Checking query status...