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 SUBSTRING_INDEX(cl_to, "-", 1) AS Importance, Pa.page_title AS Article FROM templatelinks JOIN page Pt ON Pt.page_id=tl_from AND Pt.page_namespace=1 /* Talk page */ JOIN page Pa ON Pa.page_namespace=0 AND Pa.page_title=Pt.page_title /* Article */ JOIN categorylinks ON cl_from=Pt.page_id AND cl_type="page" AND cl_to IN ("Top-importance_2010s_articles", "High-importance_2010s_articles") WHERE tl_namespace=10 AND tl_title="WikiProject_Twenty-Tens_decade" AND NOT EXISTS (SELECT 1 FROM pagelinks WHERE pl_from=Pa.page_id AND pl_title="2010s" AND pl_namespace=100) ORDER BY Importance DESC, Article
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...