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

SQL

AخA
 
USE itwiki_p;
SELECT CONCAT('# [[', page_title, ']]')
FROM page
WHERE page_namespace = 0
AND page_is_redirect = 0
AND page_title NOT IN
(SELECT pl_title
FROM pagelinks
WHERE pl_namespace = 0
AND pl_from NOT IN
(SELECT page_id
FROM page
WHERE page_namespace <> 0)
AND page_id NOT IN
(SELECT cl_from
FROM categorylinks
WHERE cl_namespace = 14
AND cl_title LIKE ('Liste_di_nati', 'Liste_di_morti')))
AND page_id NOT IN
(SELECT tl_from
FROM templatelinks
WHERE tl_namespace = 10
AND tl_title IN ('Disambigua'))
LIMIT 100;
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...