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
Dalba
.
توضیحات بیشتر در بحث ویکیپدیا:ویکیپروژه ابهامزدایی/زیرپروژه ۱۳#ایجاد فهرست صفحههای ابهامزدایی مورد نیاز
Toggle Highlighting
SQL
use fawiki_p; select page_title from page as p where page_namespace = 0 and page_is_redirect = 0 and not exists ( select null from page_props where pp_page = page_id and pp_propname = 'disambiguation' ) and page_title like "_%\_(%" and not exists ( select null from page as p2 where p2.page_title = mid(p.page_title, 1, locate('_(', p.page_title) - 1) and exists ( select null from page_props where pp_page = p2.page_id and pp_propname = 'disambiguation' ) ) and not exists ( select null from page as p3 where p3.page_title = concat( mid(p.page_title, 1, locate('_(',p.page_title) - 1), '_(ابهامزدایی)' ) and exists ( select null from page_props where pp_page = p3.page_id and pp_propname = 'disambiguation' ) ) and exists ( select null from page as p4 where p4.page_title like concat( mid(p.page_title, 1, locate('_(',p.page_title)), '%' ) having count(*) > 1 ) order by page_title 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
.
Submit Query
Stop Query
All SQL code is licensed under
CC0 License
.
Checking query status...