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
WikiBayer
.
Toggle Highlighting
SQL
SELECT AVG(daily_count) AS average_unreviewed_pages FROM ( SELECT COUNT(DISTINCT page_id) AS daily_count FROM page JOIN revision ON page_id = rev_page LEFT JOIN flaggedpages ON page_id = fp_page_id WHERE page_namespace = 0 AND rev_id > COALESCE(fp_stable, 0) AND page_is_redirect = 0 AND rev_timestamp > DATE_FORMAT(NOW() - INTERVAL 14 DAY, '%Y%m%d%H%i%S') GROUP BY DATE(rev_timestamp) ) AS daily_unreviewed_counts;
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...