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
Iluvatar
.
Toggle Highlighting
SQL
DECLARE @days_ago Int, @namespace Int, @max_limit Int; SET @days_ago = 0; SET @namespace = 0; SET @max_limit = 10000; SELECT page_title AS Title, DATEDIFF(TIMESTAMP(NOW()), fpp_pending_since) AS Days FROM flaggedpage_pending JOIN flaggedpage_config ON fpc_page_id = fpp_page_id JOIN page ON page_id = fpc_page_id WHERE fpp_pending_since <= NOW() - INTERVAL @fays_ago DAY # не проверены более N дней AND page_namespace = 0 # пространстов имён ORDER BY Days DESC # LIMIT 100 # лимит на выдачу, если полная не нужна
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...