SQL
x
USE trwiki_p;
/*
select concat("tr.wikipedia.org/wiki?curid=",il_from) as url, il_to, count(*) from imagelinks where il_from_namespace = 0
group by il_from, il_to having count(*)>1
order by count(*) desc
;
*/
select concat("tr.wikipedia.org/wiki?curid=",pl_from) as url, pl_title, count(*) from pagelinks where pl_from_namespace = 0
and pl_title rlike ".ks.z" and pl_title not rlike "m"
group by pl_from, pl_title having count(*)>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.