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
Erutuon
.
Toggle Highlighting
SQL
use enwiktionary_p; select source.page_title as 'from', concat('Citations:', pl_title) as 'to', if(exists(select 1 from templatelinks where tl_from = source.page_id and tl_namespace = 10 # Template and tl_title = 'no_entry'), 'yes', 'no') as '{{no_entry}} present?' from pagelinks join page source on source.page_id = pl_from left join page target on target.page_title = pl_title and target.page_namespace = pl_namespace where pl_from_namespace = 0 and pl_namespace = 114 # Citations and target.page_id is NULL # Exclude cases where the link is probably generated by {{no entry}} # (assuming the citation page is not linked both inside and outside of {{no entry}}. limit 10;
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...