Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
This query is marked as a draft
This query has been published
by
Mess
.
Toggle Highlighting
SQL
USE itwiki_p; SELECT DISTINCT itpage.page_title FROM page as itpage JOIN enwiki_p.page as enpage ON ( enpage.page_namespace = 0 AND enpage.page_is_redirect = 0 AND enpage.page_id IN ( SELECT DISTINCT encatlinks.cl_from FROM enwiki_p.categorylinks as encatlinks WHERE encatlinks.cl_to REGEXP 'Olympic_(gold|silver|bronze)_medalists_for.*' ) AND itpage.page_title = enpage.page_title ) WHERE itpage.page_namespace = 0 AND itpage.page_is_redirect = 0 AND itpage.page_id NOT IN ( SELECT DISTINCT itcatlinks.cl_from FROM categorylinks as itcatlinks WHERE itcatlinks.cl_to REGEXP 'Vincitori_di_medaglia_(d\'oro|d\'argento|di bronzo)_olimpica_per.*' );
By running queries you agree to the
Cloud Services Terms of Use
and you irrevocably agree to release your SQL under
CC0 License
.
Submit Query
Stop Query
All SQL code is licensed under
CC0 License
.
Checking query status...