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
The Polish
.
Toggle Highlighting
SQL
#RESULTSET_1 USE plwiki_p; SELECT CONCAT("# [[Dyskusja:",p1.page_title,"]]") AS page_title FROM page AS p1 WHERE p1.page_title NOT LIKE '%/%' AND p1.page_namespace = 1 AND NOT EXISTS (SELECT 1 FROM page AS p2 WHERE p2.page_namespace = 0 AND p1.page_title = p2.page_title) ORDER BY page_title; #RESULTSET_2 USE plwiki_p; SELECT CONCAT('# [[Dyskusja:',page_title,']]') AS page_title FROM page, templatelinks WHERE tl_from_namespace = 1 AND page_len < 40 AND tl_namespace = 10 AND page_id = tl_from AND tl_title LIKE 'Bez_infoboksu' AND page_title IN ( SELECT page_title FROM page, templatelinks WHERE tl_from_namespace = 0 AND tl_namespace = 10 AND page_id = tl_from AND tl_title LIKE '%infobox%' ) ORDER BY page_len, page_title; #RESULTSET_3 USE plwiki_p; SELECT concat("# [[Dyskusja:",page_title,"]]") AS page_title FROM plwiki_p.page WHERE page_namespace = 1 AND page_len = 0 ORDER BY page_title; #RESULTSET_4 USE plwiki_p; SELECT CONCAT('# [[',page_title,']]') AS page_title, CONCAT('[[',rd_title,']]') AS rd_title FROM page JOIN redirect ON rd_FROM = page_id AND NOT EXISTS (SELECT * FROM page AS p1 WHERE p1.page_title = rd_title AND p1.page_namespace = rd_namespace) AND page_namespace = 0 AND rd_namespace = 0 ORDER BY page_title, rd_title; #RESULTSET_5 USE plwiki_p; SELECT CONCAT("# [[",page_title,"]]") AS page_title, CONCAT("[[",pl_title,"]]") AS pl_title FROM pagelinks, page WHERE pl_title NOT LIKE '%(%)%' AND pl_title NOT LIKE '%:)%' AND pl_title NOT LIKE '%:-)%' AND pl_title NOT LIKE '%)))%' AND pl_title NOT LIKE '%Pre)Thing%' AND pl_FROM = page_id AND pl_from_namespace = 0 AND pl_namespace = 0 AND (pl_title LIKE '%)%)%' OR pl_title LIKE '%(%(%' OR pl_title LIKE '%(%' OR pl_title LIKE '%)%') ORDER BY pl_title, page_title; #RESULTSET_6 USE plwiki_p; SELECT CONCAT('# [[Wikipedysta:',page_title,']]') AS page_title FROM page, templatelinks WHERE tl_from_namespace = 2 AND tl_namespace = 10 AND page_id = tl_from AND tl_title LIKE 'DNU' AND page_title NOT LIKE '%Pablo000%' GROUP BY page_title ORDER BY page_title; #RESULTSET_7 USE plwiki_p; SELECT DISTINCT CONCAT("# [[Wikipedia:" , page_title , ']]') as page_title FROM page JOIN templatelinks ON page_id = tl_from JOIN categorylinks ON page_id = cl_from WHERE page_title LIKE 'Poczekalnia/%' AND page_title NOT LIKE 'Poczekalnia/Załatwione%' AND page_title NOT LIKE 'Poczekalnia/Zgłoszenia%' AND page_title NOT LIKE 'Poczekalnia/preload%' AND page_title NOT LIKE 'Poczekalnia/wstęp' AND page_title NOT LIKE 'Poczekalnia/archiwa' AND page_title NOT LIKE 'Poczekalnia/intro' AND page_title NOT LIKE 'Poczekalnia/podstrona_załatwione' AND page_title NOT LIKE 'Poczekalnia/Dyskusja_nad_szablonami' AND page_title NOT LIKE 'Poczekalnia/Kategorie' AND page_title NOT LIKE 'Poczekalnia/Szablony' AND page_title NOT LIKE 'Poczekalnia/schowek_na_postacie_fikcyjne' AND page_title NOT LIKE 'Poczekalnia/naprawa_załatwione_24' AND page_title NOT LIKE 'Poczekalnia/naprawa' AND page_namespace = 4 AND NOT EXISTS( SELECT * FROM templatelinks t1 WHERE page_title = t1.tl_title #AND t1.tl_from_namespace = 4 #LIMIT 1 ); #RESULTSET_8 USE plwiki_p; SELECT CONCAT("# [[",page_title,"]]") AS page_title FROM page WHERE page_namespace = 0 AND page_len = 0 ORDER BY page_title; #RESULTSET_9 USE plwiki_p; SELECT CONCAT('# [[Specjalna:Linkujące/Szablon:',tl_title,']]') AS tl_title FROM page, templatelinks WHERE tl_from_namespace = 0 AND tl_namespace = 10 AND page_id = tl_from AND tl_title NOT LIKE 'Toc' AND tl_title NOT LIKE 'Tc' AND NOT EXISTS (SELECT * FROM page AS p1 WHERE p1.page_namespace = tl_namespace AND p1.page_title = tl_title) GROUP BY tl_title ORDER BY tl_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...