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
Matěj Suchánek
.
Toggle Highlighting
SQL
USE wikidatawiki_p; SELECT CONCAT("Q",epp_entity_id), ips_site_page, CONCAT("Q",labels.term_entity_id) FROM wb_entity_per_page JOIN (SELECT * FROM pagelinks WHERE pl_title IN ("Q3409032","Q12308941","Q11879590")) AS links ON pl_from = epp_page_id JOIN wb_items_per_site ON ips_item_id = epp_entity_id CROSS JOIN (SELECT * FROM wb_terms WHERE term_type = "label" AND term_entity_type = "item") AS labels ON labels.term_text = ips_site_page;
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...