SQL
x
SELECT * FROM revision WHERE rev_page IN (
SELECT page.page_id FROM pagelinks
INNER JOIN page
ON pagelinks.pl_title = page.page_title
WHERE pagelinks.pl_from = 2596980 AND pagelinks.pl_namespace = 0 AND pagelinks.pl_title <> 'Lists_of_country-related_topics' AND page.page_namespace = 0
)
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.