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
Vexations
.
Toggle Highlighting
SQL
# new unreviewed article from last week #SELECT COUNT(page.page_title) FROM `page` JOIN `pagetriage_page` ON page_id = ptrp_page_id WHERE ptrp_reviewed = 0 AND page_namespace = 0 AND ptrp_created > (NOW() - INTERVAL 7 DAY); SELECT * FROM ( SELECT COUNT(page.page_title) AS triaged FROM `page` JOIN `pagetriage_page` ON page_id = ptrp_page_id WHERE ptrp_reviewed = 1 AND page_namespace = 0 AND ptrp_created > (NOW() - INTERVAL 7 DAY) ) AS t, ( SELECT COUNT(log_title) AS patrolled FROM `logging`WHERE log_action = 'patrol' AND log_namespace = 0 AND log_timestamp > (NOW() - INTERVAL 7 DAY) ) AS p ;
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...