SQL
x
USE skwiki_p;
SELECT
REPLACE(lt_title, '_', ' ') AS template_title,
COUNT(*) AS article_count
FROM
templatelinks, linktarget
WHERE
tl_target_id = lt_id AND
tl_from_namespace = 0 AND
lt_namespace = 10
GROUP BY
lt_title
ORDER BY
article_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.