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
Larske
.
Toggle Highlighting
SQL
USE svwiki_p; SELECT CONCAT('[[:Kategori:',p1.page_title,']]') AS kategori, cl_from FROM redirect INNER JOIN page p1 ON rd_from=p1.page_id INNER JOIN categorylinks ON cl_to=page_title INNER JOIN page p2 ON cl_from=p2.page_id WHERE /* SELECT CONCAT('[[:Kategori:',page_title,']]') AS kategori, COUNT(cl_from) AS antal FROM redirect INNER JOIN page ON rd_from=page_id INNER JOIN categorylinks ON cl_to=page_title WHERE */ rd_namespace = 14 AND p1.page_namespace = 14 AND NOT p2.page_namespace = 0 /* GROUP BY page_title /* ORDER BY antal DESC, 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...