Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
Fork of
Most frequent domains in September 2020 (frwiki)
by
Pyb
This query is marked as a draft
This query has been published
by
Pyb
.
This query compiles a list of 5 000 external links (from the main namespace of the French Wikipedia) grouped by website.
Toggle Highlighting
SQL
USE frwiki_p; SELECT url, COUNT(*) FROM ( SELECT SUBSTRING_INDEX(SUBSTRING(el_to, LOCATE('://', el_to) + 3), '/', 1) url FROM externallinks WHERE el_from IN ( SELECT page_id FROM page WHERE page_namespace = 0 ) ) tmp_table #where url LIKE "quarry.wmflabs.org%" GROUP BY url HAVING COUNT(*) > 5000 ORDER BY 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...