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
Cryptic
.
For [[WP:RAQ#Medical external links survey]] circa 30 Aug 2020.
Toggle Highlighting
SQL
SELECT site, COUNT(*) FROM (SELECT REGEXP_REPLACE(el_to, '^(?:[a-z]*:)?//([^/]*)(?:.*)', '\\1') AS site FROM externallinks JOIN page ON page_id = el_from JOIN categorylinks ON cl_from = page_id WHERE cl_to IN ('All_WikiProject_Medicine_articles', 'WikiProject_Anatomy_articles')) sq GROUP BY site;
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...