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
Certes
.
Toggle Highlighting
SQL
SELECT pl_title AS `Draft`, COUNT(*) AS `#`, GROUP_CONCAT(CASE WHEN page_is_redirect = 1 THEN CONCAT(CHR(14853303), '{', '{!r', CHR(124), page_title, '}', '}') ELSE CONCAT('[', '[', page_title, ']', ']') END SEPARATOR ', ') AS `Articles` FROM pagelinks JOIN page ON page_id = pl_from WHERE pl_from_namespace = 0 AND pl_namespace = 118 AND (NOT EXISTS (SELECT 1 FROM templatelinks JOIN linktarget ON lt_id = tl_target_id WHERE tl_from = pl_from AND lt_namespace = 10 AND lt_title IN ('R_with_possibilities', 'R_from_upcoming_film')) OR pl_title != page_title) GROUP BY pl_title;
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...