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
# test # See also https://upload.wikimedia.org/wikipedia/commons/f/f7/MediaWiki_1.24.1_database_schema.svg use wikidatawiki_p; SELECT ips_site_id, Count(*) #plfrom, ips_site_id, ips_site_page FROM pagelinks AS pl1, wb_items_per_site, wb_entity_per_page WHERE pl1.pl_from_namespace=0 AND pl1.pl_namespace=0 AND pl1.pl_title="Q21160456" AND epp_page_id = pl1.pl_from AND epp_entity_id = ips_item_id AND ips_site_id NOT LIKE '%quote%' AND ips_site_id NOT LIKE '%news%' AND ips_site_id NOT LIKE '%source%' AND ips_site_id NOT LIKE '%commons%' GROUP BY ips_site_id ORDER BY COUNT(*) #GROUP BY pl1.pl_from #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...