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
Jura1
.
Toggle Highlighting
SQL
use wikidatawiki_p; # SHOW TABLES; SELECT COUNT(*) as ?ct from wb_items_per_site, wb_terms, page_props as qid WHERE ips_site_id = "cebwiki" AND ips_item_id = term_entity_id AND term_entity_type = "item" AND term_full_entity_id = qid.pp_value AND qid.pp_propname = 'wikibase_item' # , page_props as sl # AND sl.pp_page = qid.pp_page # AND sl.pp_propname = "wb-sitelinks" and sl.pp_value= "1" LIMIT 10 ; # SELECT * FROM wb_terms WHERE term_full_entity_id = "Q4657626" LIMIT 10; # SELECT * FROM wb_items_per_site WHERE ips_item_id = 4657626 LIMIT 10; # SELECT * FROM page WHERE page_id = 4449555 LIMIT 10; # SELECT * FROM page_props WHERE pp_page = 4449555 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...