This query is marked as a draft This query has been published by By erdo can.

SQL

AخA
 
use trwiki_p;
SELECT distinct CONCAT('# [[:Kategori:',page_title,']]') AS page_title,
  CONCAT('# [[:Kategori:',cl_to,']]') as kırmızı_bağlantı
FROM page
JOIN
(SELECT
   cl_to,
   cl_from
 FROM categorylinks
 LEFT JOIN page
 ON cl_to = page_title
 AND page_namespace = 14
 WHERE page_title IS NULL) AS cattmp
ON cattmp.cl_from = page_id
WHERE page_namespace = 14
limit 1000
;
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...