Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
Fork of
Linkings to unexisting categories on plwiki
by
The Polish
This query is marked as a draft
This query has been published
by
Estopedist1
.
Toggle Highlighting
SQL
USE etwiki_p; SELECT CONCAT('# [[',page_title,']]') AS page_title, page_namespace, pl_namespace FROM page INNER JOIN pagelinks ON page_id = pl_from WHERE pl_from_namespace = 0 AND pl_namespace = 14 AND NOT EXISTS (SELECT * FROM page AS p1 WHERE pl_title = p1.page_title AND p1.page_namespace = 14) /*AND EXISTS (SELECT * FROM page AS p1, templatelinks AS t1 WHERE t1.tl_from = page_id AND t1.tl_from_namespace = 0 AND t1.tl_namespace = 10 AND (t1.tl_title LIKE 'Zobacz_kategorię' OR t1.tl_title LIKE 'Kategoria_główna') LIMIT 1)*/ GROUP BY page_title #ORDER BY page_title ASC LIMIT 25;
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...