SQL
AخA
USE enwiki_p;
/*SELECT CONCAT('# [[User:', page_title, ']]') AS page_title, page_len, rev_user_text, user_editcount
FROM page, revision, user
WHERE page.page_id = revision.rev_page
and page_title in (select pl_title from pagelinks where pl_from = 36717948)
#and page_len > 3000
and revision.rev_user = user.user_id
AND page_namespace = 2 #and page_title not like "%/%"
AND rev_parent_id = 0
and user_editcount < 51
#and page_id in (select el_from from externallinks)
and rev_user in (select ipb_user from ipblocks)
and page_id not in (select distinct cl_from from categorylinks where
cl_to like "Wikipedia_sockpuppets%" or cl_to like "Suspected_Wikipedia%")
and REPLACE(page_title, '_', ' ') in (select user_name from user where user_editcount < 51)
ORDER BY page_len desc*/
SELECT ar_page_id, cl_to
FROM archive #join page on page_id=ar_page_id
join categorylinks on ar_page_id=cl_from
where cl_to like "Wikipedia_sockpuppets%" or cl_to like "Suspected_Wikipedia%"
limit 10
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.