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
Wugapodes
.
A list of articles in [[Category:Chess game]] sorted from most to least popular based on the number of incoming links.
Toggle Highlighting
SQL
SELECT REPLACE(page.page_title, "_", " ") as 'Chess game', COUNT(pagelinks.pl_from) as 'Incoming links' FROM categorylinks INNER JOIN page on page_id = cl_from INNER JOIN linktarget on linktarget.lt_title = page.page_title and linktarget.lt_namespace = page.page_namespace INNER JOIN pagelinks on linktarget.lt_id = pagelinks.pl_target_id WHERE cl_to = "Chess_games" AND page.page_title NOT LIKE 'List_of%' GROUP BY page.page_title ORDER BY COUNT(pagelinks.pl_from) DESC
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...