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
Valerio Bozzolan
.
Exaustive description here https://it.wikipedia.org/wiki/Wikipedia:Elenchi_generati_offline/Richieste#Categorie_di_squadre_con_pi%C3%B9_allenatori_o_giocatori
Toggle Highlighting
SQL
use itwiki_p; SELECT p_nation.page_title AS nation, p_squad .page_title AS squad FROM categorylinks AS cl1 JOIN page AS p_nation ON ( cl1.cl_from = p_nation.page_id ) JOIN categorylinks AS cl2 ON ( cl2.cl_to = p_nation.page_title ) JOIN page AS p_squad ON ( cl2.cl_from = p_squad .page_id ) WHERE cl1.cl_to = 'Squadre_sportive_per_nazione' AND p_nation.page_title NOT LIKE '%_di_%' AND p_squad .page_title NOT LIKE 'Squadre_automobilistiche%' cl2.cl_type = 'subcat'
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...