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
Anerka
.
Toggle Highlighting
SQL
USE trwiki_p; SELECT IF(page_namespace = 14, 'kategori', 'madde') AS tur, CONCAT('# [[',page_title,']]') sayfa_adi FROM categorylinks JOIN page ON page_id = cl_from WHERE cl_to = 'Kadın_oyuncular' AND page_is_redirect = 0 AND page_namespace = 0 # anlam ayrım sayfası olmasın AND page_id NOT IN ( SELECT pp_page FROM page_props WHERE pp_propname = 'disambiguation' ) # direk bağlantı almasın AND NOT ( page_title IN ( SELECT pl_title FROM pagelinks WHERE pl_namespace = 0 AND pl_from_namespace = 0 AND pl_from NOT IN ( SELECT rd_from FROM redirect WHERE rd_namespace = 0 AND rd_title = page_title ) ) # yönlendirme bağlantısı almasın OR ( page_title IN ( SELECT rd_title FROM redirect JOIN page AS p2 ON p2.page_id = rd_from JOIN pagelinks AS pl2 ON p2.page_title = pl2.pl_title WHERE rd_namespace = 0 AND p2.page_is_redirect = 1 AND p2.page_namespace = 0 AND pl2.pl_namespace = 0 AND pl2.pl_from_namespace = 0 ) ) ) ORDER BY page_title;
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...