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
Edgars2007
.
Toggle Highlighting
SQL
use wikidatawiki_p; SELECT ips_item_id, COUNT(ips_item_id), (SELECT GROUP_CONCAT(distinct concat(wb1.ips_site_id, '-frkmarker-',wb1.ips_site_page) separator '|') as 'otherlinks' FROM wb_items_per_site wb1 WHERE wb1.ips_site_id in ('enwiki','dewiki','eswiki','ruwiki','frwiki') and wb1.ips_item_id=www.ips_item_id) as 'other links' FROM wb_items_per_site www WHERE ips_site_id LIKE '%wiki' AND NOT ips_site_id='wikidatawiki' AND NOT ips_site_id='commonswiki' GROUP BY ips_item_id HAVING COUNT(ips_item_id) > 48 AND ips_item_id NOT IN (SELECT ips_item_id FROM wb_items_per_site WHERE ips_site_id='lvwiki') ORDER BY COUNT(ips_item_id) DESC;
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...