This query is marked as a draft This query has been published by Martin Urbanec.

SQL

AخA
 
use cswiki_p;
select * from page where page_namespace=10 and CONCAT(page_title, "/doc") not in (select page_title from page where page_namespace=10) and page_title not like "%/%" and page_id in (select tl_from from templatelinks where tl_title="Dokumentace");
By running queries you agree to the Cloud Services Terms of Use and you irrevocably agree to release your SQL under CC0 License.
All SQL code is licensed under CC0 License.

Checking query status...