SQL
AخA
USE elwiki_p;
SELECT
CONCAT('* [[',source.page_title,']]') AS article, COUNT(*) AS count
FROM page AS target
JOIN categorylinks
ON cl_from = target.page_id
JOIN pagelinks
ON pl_title = target.page_title
JOIN page AS source
ON source.page_id = pl_from
WHERE cl_to = "Αποσαφήνιση"
AND source.page_namespace = 0
AND target.page_namespace = 0
AND pl_namespace = 0
GROUP BY 1
ORDER BY count DESC
By running queries you agree to the Cloud Services Terms of Use and you irrevocably agree to release your SQL under CC0 License.
All SQL code is licensed under CC0 License.