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
XXN
.
Toggle Highlighting
SQL
USE wikidatawiki_p;/* show tables; SHOW COLUMNS FROM page; SHOW COLUMNS FROM pagelinks;*/ #select * from page join pagelinks ON page_id = pl_from where page_title = "Q9698821" select distinct page_title from page JOIN pagelinks on pl_from_namespace = 0 and pl_title = "Q4167836"#CONCAT("Q",epp_entity_id) where page_title = (select CONCAT("Q",ips_item_id) from wb_items_per_site where ips_site_id is null) /* join wb_items_per_site on page_title = CONCAT("Q",ips_item_id) where ips_site_id is null*/ limit 50 #select * from wb_items_per_site where ips_item_id = "9698821" #SHOW COLUMNS FROM wb_items_per_site; #SHOW COLUMNS FROM langlinks;
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...