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
XXN
.
related to https://quarry.wmflabs.org/query/14759
Toggle Highlighting
SQL
use ruwiki_p; SELECT /*CONCAT("\[[", GROUP_CONCAT(*/(select pl_title from pagelinks where pl_title IN ( SELECT page_title FROM page WHERE page_namespace = 0 and page_title not like "Биологический_такс%" ))/* SEPARATOR "]], [["), "]]")*/ as blue_links, CONCAT("\[[", GROUP_CONCAT(column2 = (select pl_title from pagelinks where pl_title not IN ( SELECT page_title FROM page WHERE page_namespace = 0 )) SEPARATOR "]], [["), "]]") as red_links, CONCAT("\[[Template:", page_title, "]]") as template FROM pagelinks JOIN page ON page_namespace = 10 AND page.page_id = pagelinks.pl_from WHERE pl_from_namespace = 10 AND pl_namespace = 0 and page_title in (select pl_title from pagelinks pl1 where pl1.pl_from = 43401631 and pl1.pl_namespace = 10) GROUP BY page_title ORDER BY blue_links ASC, red_links ASC
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...