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
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 and tl_title = 'no_entry'), 'yes', 'no') as '{{no_entry}} present?', if(exists(select 1 from templatelinks where tl_from = source.page_id and tl_namespace = 10 and tl_title = 'seeCites'), 'yes', 'no') as '{{seeCites}} 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;
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...