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
Dvorapa
.
Toggle Highlighting
SQL
use cswiki_p; select * from page where (page_namespace like 4 or page_namespace like 6 or page_namespace like 12 or page_namespace like 100) and page_is_redirect like 0 and not page_title like '%/%' and ((page_id not in (select cl_from from categorylinks)) or (page_id in (select cl_from from categorylinks where cl_to in (select page_title from page where page_id in (select cl_from from categorylinks where cl_to like 'Údržba_Wikipedie' and cl_type like 'subcat'))) and page_id not in (select cl_from from categorylinks where cl_to not in (select page_title from page where page_id in (select cl_from from categorylinks where cl_to like 'Údržba_Wikipedie' and cl_type like 'subcat')))) or (page_id in (select cl_from from categorylinks where cl_to in (select page_title from page where page_id in (select cl_from from categorylinks where cl_to like 'Systém:Skryté_kategorie' and cl_type like 'subcat'))) and page_id not in (select cl_from from categorylinks where cl_to not in (select page_title from page where page_id in (select cl_from from categorylinks where cl_to like 'Systém:Skryté_kategorie' and cl_type like '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...