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
軽快
.
local article = その言語版にしかない記事 global article = 他言語版にもある記事
Toggle Highlighting
SQL
use jawiki_p;/* select page_title, substring( pp_value from 2 ) as wikidata_id from page_props inner join page on pp_page = page_id and (pp_propname = "wikibase_item" and page_namespace = 0 and page_title regexp '\\-[0-9]{4}(年)?\\)$' ) */ select * from wikidatawiki_p.wb_items_per_site inner join ( select page_title, substring( pp_value from 2 ) as wikidata_id from page_props inner join page on pp_page = page_id and (pp_propname = "wikibase_item" and page_namespace = 0 and page_title regexp '\\-[0-9]{4}(年)?\\)$' ) ) as a on wikidata_id = ips_item_id and ips_site_id = "enwiki"
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...