This query is marked as a draft This query has been published by Bawolff.

SQL

AخA
 
use mediawikiwiki_p;
SELECT regexp_substr( el_to, '[^:/]*(://|//|:)[^?/]*' ) from externallinks inner join page on page_id = el_from and page_namespace = 0 group by 1 order by 1 desc LIMIT 50000;
By running queries you agree to the Cloud Services Terms of Use and you irrevocably agree to release your SQL under CC0 License.
All SQL code is licensed under CC0 License.

Checking query status...