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
Huji
.
Toggle Highlighting
SQL
use wikidatawiki_p; /* select distinct eu_entity_id, eu_aspect, eu_page_id, page_id, page_namespace, page_title from wbc_entity_usage join page on eu_page_id = page_id -- and page_namespace = 0 where -- eu_aspect = 'C.P1156' eu_entity_id = 'P1566' and page_namespace NOT IN (2, 4, 121) limit 100; */ /* select * from wbc_entity_usage where eu_entity_id = 'Q20'; -- Norway; */ select * from wbs_propertypairs where pid1 IN (20, 2113430, 2039804) limit 1000; -- show tables;
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...