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; /* DESCRIBE wb_entity_per_page;*/ SELECT CONCAT("Q",epp_entity_id), pagelinks1.pl_from, pagelinks2.pl_from, ips1.ips_site_id, ips1.ips_site_page, ips2.ips_site_id, ips2.ips_site_page FROM wb_entity_per_page JOIN pagelinks AS pagelinks1 ON pagelinks1.pl_from = epp_page_id AND pagelinks1.pl_title = "Q4167836" JOIN wb_items_per_site AS ips1 ON ips1.ips_item_id = epp_entity_id JOIN pagelinks AS pagelinks2 ON pagelinks2.pl_from = epp_page_id AND pagelinks2.pl_title = pagelinks1.pl_title JOIN wb_items_per_site AS ips2 ON ips2.ips_item_id = epp_entity_id WHERE ips1.ips_site_id = "cswiki" AND ips2.ips_site_id = "skwiki" AND REPLACE(ips1.ips_site_page,"Kategorie:","") = REPLACE(ips2.ips_site_page,"Kategória:","") LIMIT 10;
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...