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 dewiki_p; select frs1.d, syncedpagesNS0, reviewedpagesNS0, reviewedPagesNS0 - syncedPagesNS0 as pending_pages from ( select floor(frs_timestamp/1000000) as d, frs_stat_key, round(avg(frs_stat_val)) as syncedPagesNS0 from flaggedrevs_statistics where frs_stat_key="syncedPages-NS:0" group by d ) as frs1, ( select floor(frs_timestamp/1000000) as d, frs_stat_key, round(avg(frs_stat_val)) as reviewedPagesNS0 from flaggedrevs_statistics where frs_stat_key="reviewedPages-NS:0" group by d ) as frs2 where frs1.d=frs2.d order by frs1.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...