Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
Fork of
All dag main namespace articles with their Qid if they have one
by
Masssly
This query is marked as a draft
This query has been published
by
Dnshitobu
.
ckbwiki main namespace articles with their Qid. If the query works fine.
Toggle Highlighting
SQL
#dag use dagwiki_p ; # select wd.ips_item_id,ckbp.page_title from page as ckbp, wikidatawiki_p.wb_items_per_site as wd where ckbp.page_namespace=0 and kkbp.page_is_redirect = 0 and wd.ips_site_id="ckbwiki" and wd.ips_site_page=ckbp.page_title select pp.pp_value as Qid, page_title as title from page left join page_props as pp on page_id = pp.pp_page and pp.pp_propname = 'wikibase_item' where page_namespace=0 and page_is_redirect=0
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...