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
Effeietsanders
.
Toggle Highlighting
SQL
USE commonswiki_p; SELECT p1.page_title AS title, p1.page_id AS page_id FROM page p1, /* for host page */ page p2, /* for template */ templatelinks t WHERE p1.page_id = t.tl_from AND /* host page */ p2.page_id = t.tl_title AND /* template */ p1.page_namespace = t.tl_from_namespace AND p2.page_namespace = t.tl_namespace AND p1.page_namespace = 6 AND /* host must be file */ p2.page_namespace = 10 AND /* template must be template */ p2.page_title = "Wiki Loves Earth 2016"
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...