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
Sumit.iitp
.
Toggle Highlighting
SQL
USE enwiki_p; SELECT article.page_id, article.page_title, SUBSTRING_INDEX(imp.cl_to, "-", 1) AS importance FROM page tp INNER JOIN categorylinks imp ON imp.cl_from = tp.page_id AND (imp.cl_to LIKE "Low-importance%articles" OR imp.cl_to LIKE "Unknown-importance%articles") INNER JOIN categorylinks qual ON qual.cl_from = tp.page_id AND (qual.cl_to LIKE "FA-Class_%") JOIN page article ON article.page_title = tp.page_title AND article.page_namespace = 0 WHERE tp.page_namespace = 1 GROUP BY article.page_id, importance;
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...