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
XXN
.
Toggle Highlighting
SQL
USE svwiki_p; SELECT REPLACE(page_title, '_', ' ')#page_title ,GROUP_CONCAT(ll_lang) FROM page join categorylinks on page_id=cl_from LEFT JOIN langlinks ON ll_from = page_id LEFT JOIN (SELECT * FROM page_props WHERE pp_propname = 'wikibase_item') AS props ON pp_page = page_id WHERE cl_to = "Robotskapade_förgreningssidor" #WHERE cl_to = "Pagklaro_paghimo_ni_bot" and pp_value is not NULL #AND ll_title IS NULL AND page_is_redirect = 0 AND page_namespace = 0 # and page_title like "%(pagklaro)" #/**/and page_title in (select REPLACE(page_title, '_(disambigua)', '_(pagklaro)')#page_title #/**/and REPLACE(page_title, '_(pagklaro)', '') in (select page_title /**/and page_title in (select page_title from itwiki_p.page p # LEFT JOIN (SELECT * FROM svwiki_p.page_props WHERE pp_propname = 'wikibase_item') AS props1 # ON pp_page = p.page_id join itwiki_p.categorylinks c2 on p.page_id=c2.cl_from # and page_title like "%(disambigua)"#"%(disambiguation)" where c2.cl_to = "Pagine_di_disambiguazione"#"Disambiguation_pages"#"Pagklaro_paghimo_ni_bot" #"Robotskapade_förgreningssidor"#Dezambiguizare" AND p.page_namespace = 0 AND p.page_is_redirect = 0 #and pp_value is not NULL and p.page_id not in (select m.ll_from from langlinks m where m.ll_lang="sv"))/**/ /*and page_id not in (select l.ll_from from langlinks l where l.ll_lang="sv")*//* group by ll_from*//* and page_title in (select page_title from enwiki_p.page p3 join enwiki_p.categorylinks c3 on p3.page_id=c3.cl_from where c3.cl_to = "Disambiguation_pages"#Dezambiguizare" AND p3.page_namespace = 0 AND p3.page_is_redirect = 0)*/ and page_id not in (select m.ll_from from langlinks m where m.ll_lang="it") group by page_title ORDER BY page_title;
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...