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
Wurgl
.
Klammerlemmata als Weiterleitung mit Anzahl und Liste von Links auf diese Weiterleitung
Toggle Highlighting
SQL
use dewiki_p; SELECT t.page_title as "Weiterleitungsseite", COUNT(pl_from) AS "Anzahl Verlinkungen", GROUP_CONCAT(f.page_title SEPARATOR ' • ') AS "verlinkt von" FROM page AS t LEFT JOIN pagelinks ON pl_namespace = t.page_namespace AND pl_title = t.page_title AND pl_from_namespace = 0 LEFT JOIN page AS f ON f.page_id = pl_from WHERE t.page_is_redirect = 1 AND t.page_namespace = 0 AND t.page_title LIKE "%\_(%" GROUP BY t.page_title ORDER BY COUNT(pl_from)
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...