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
.
Articles with an FA star which were never FA candidates under their current title or a current redirect to it
Toggle Highlighting
SQL
SELECT page_title FROM templatelinks JOIN page Pa ON page_id = tl_from WHERE tl_namespace = 10 AND tl_title = "Featured_article" AND tl_from_namespace = 0 AND NOT EXISTS (SELECT 1 FROM page Pw WHERE Pw.page_namespace = 4 AND Pw.page_title = CONCAT("Featured_article_candidates/", Pa.page_title)) AND NOT EXISTS (SELECT 1 FROM redirect JOIN page Pr ON Pr.page_id = rd_from JOIN page Pw ON Pw.page_namespace = 4 AND Pw.page_title = CONCAT("Featured_article_candidates/", Pr.page_title) WHERE rd_namespace = 0 AND rd_title = Pa.page_title) AND NOT EXISTS (SELECT 1 FROM page Pw WHERE Pw.page_namespace = 4 AND Pw.page_title LIKE CONCAT("Featured_article_candidates/", Pa.page_title, "/%")) AND NOT EXISTS (SELECT 1 FROM redirect JOIN page Pr ON Pr.page_id = rd_from JOIN page Pw ON Pw.page_namespace = 4 AND Pw.page_title = CONCAT("Featured_article_candidates/", Pr.page_title, "/%") WHERE rd_namespace = 0 AND rd_title = Pa.page_title) LIMIT 100;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...