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
SibeliusHicks
.
Toggle Highlighting
SQL
select t1.el_id as 'Link ID', t1.el_to as 'URL', t2.page_id as 'Page ID', REPLACE(t2.page_title, '_'. ' ') as 'Page title', CONCAT('https://en.wikipedia.org/wiki/',t2.page_title) as 'Page link', t2.page_namespace as 'Namespace' from externallinks t1, page t2 where ( t1.el_index like 'http://org.sciencemag.%' or t1.el_index like 'https://org.sciencemag.%' or t1.el_index like '//org.sciencemag.%') and t1.el_id not in (select el_id from externallinks where el_index like 'http://org.sciencemag.spj%' or el_index like 'https://org.sciencemag.spj%' or el_index like '//org.sciencemag.spj%') and t1.el_from = t2.page_id and t2.page_namespace = 0 order by t1.el_to ascending
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...