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
Lopullinen
.
依據討論頁專題模板,由新至舊列出中文維基百科電子遊戲專題頁面。
Toggle Highlighting
SQL
USE zhwiki_p; SELECT page.page_id AS id, CASE page.page_namespace WHEN 0 THEN '(Article)' WHEN 2 THEN 'User' WHEN 4 THEN 'Wikipedia' WHEN 6 THEN 'File' WHEN 8 THEN 'MediaWiki' WHEN 10 THEN 'Template' WHEN 12 THEN 'Help' WHEN 14 THEN 'Category' WHEN 100 THEN 'Portal' WHEN 118 THEN 'Draft' WHEN 828 THEN 'Module' ELSE CONCAT('{{ns:', page.page_namespace, '}}') END AS namespace, REPLACE(page.page_title, "_", " ") AS title, page.page_is_redirect AS is_redirect, page.page_len AS len, CONCAT( '[[:', CASE page.page_namespace WHEN 0 THEN '' WHEN 2 THEN 'User:' WHEN 4 THEN 'Wikipedia:' WHEN 6 THEN 'File:' WHEN 8 THEN 'MediaWiki:' WHEN 10 THEN 'Template:' WHEN 12 THEN 'Help:' WHEN 14 THEN 'Category:' WHEN 100 THEN 'Portal:' WHEN 118 THEN 'Draft:' WHEN 828 THEN 'Module:' ELSE CONCAT('{{subst:ns:', page.page_namespace - 1, '}}:') END, page.page_title, "]]" ) AS pagelink FROM page AS p JOIN categorylinks ON cl_from = p.page_id AND cl_type = 'page' JOIN page ON page.page_title = p.page_title AND page.page_namespace = p.page_namespace - 1 WHERE cl_to = "电子游戏条目" ORDER BY page.page_id DESC
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...