Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
Fork of
External links (backlinks) - multiple wikis
by
Krinkle
This query is marked as a draft
This query has been published
by
Nivas10798
.
Toggle Highlighting
SQL
SELECT 'enwiki_p' as dbname, COUNT(*) as rc_count FROM enwiki_p.externallinks WHERE el_index LIKE 'http://org.mediawiki%' OR el_index LIKE 'https://org.mediawiki%' UNION ALL SELECT 'metawiki_p' as dbname, COUNT(*) as rc_count FROM metawiki_p.externallinks WHERE el_index LIKE 'http://org.mediawiki%' OR el_index LIKE 'https://org.mediawiki%' UNION ALL SELECT 'commonswiki_p' as dbname, COUNT(*) as rc_count FROM commonswiki_p.externallinks WHERE el_index LIKE 'http://org.mediawiki%' OR el_index LIKE 'https://org.mediawiki%' UNION ALL SELECT 'mediawikiwiki_p' as dbname, COUNT(*) as rc_count FROM mediawikiwiki_p.externallinks WHERE el_index LIKE 'http://org.mediawiki%' OR el_index LIKE 'https://org.mediawiki%' ORDER BY rc_count 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...