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
Taavi
.
Toggle Highlighting
SQL
select page_id, page_namespace, page_title from page where exists ( select 1 from templatelinks left join linktarget on lt_id = tl_target_id where lt_namespace = 10 and lt_title = 'S-rail' and tl_from = page_id ) and not exists ( select 1 from templatelinks left join linktarget on lt_id = tl_target_id where lt_namespace = 10 and lt_title = 'S-rail-national' and tl_from = page_id ) order by page_namespace, page_title
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...