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
ⵓ
.
Toggle Highlighting
SQL
with TLDlist as ( SELECT SUBSTRING_INDEX(SUBSTRING_INDEX(e.el_to_domain_index,'.',1),'/',-1) as TLD FROM externallinks as e JOIN page ON page_id = el_from WHERE page.page_id=12869134 ) , TLDres as ( SELECT el.el_from, SUBSTRING_INDEX(SUBSTRING_INDEX(el.el_to_domain_index,'.',1),'/',-1) as TLD, el.el_to_domain_index, el.el_to_path FROM externallinks as el WHERE SUBSTRING_INDEX(el_to_domain_index,':',1) in ('http','https') ) , p as (SELECT page.page_id, page.page_title FROM page WHERE page.page_namespace =0) SELECT p.page_title, TLDres.TLD, TLDres.el_to_domain_index, TLDres.el_to_path FROM p INNER JOIN TLDres ON p.page_id = TLDres.el_from LEFT JOIN TLDlist ON TLDlist.TLD =TLDres.TLD WHERE TLDlist.TLD is null LIMIT 100
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...