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

SQL

x
 
USE zhwiki_p;
SELECT DISTINCT page_title
FROM page 
WHERE page_is_redirect=0
AND page_namespace=0
AND (page_title like "%(消歧%"
    OR EXISTS (SELECT
                  1
                FROM categorylinks
                WHERE cl_from = page_id
                AND cl_to LIKE "%消歧%" 
                AND cl_to NOT LIKE "%消歧義目標%" 
                AND cl_to NOT LIKE "%需要消歧%"
              )
)
AND NOT EXISTS (
  SELECT 1
  FROM page_props
  WHERE pp_propname = 'disambiguation'
  AND pp_page = page_id 
)
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...