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
Estopedist1
.
Toggle Highlighting
SQL
USE etwiki_p; SELECT CONCAT('[[',page_title,']]') AS page_title#, COUNT(*) AS count_cl_to FROM page, categorylinks, templatelinks WHERE page_id = cl_from AND page_id = tl_from AND page_namespace = 0 AND EXISTS (SELECT * FROM templatelinks AS t1 WHERE page_id = t1.tl_from AND cl_to NOT LIKE 'Täpsustusleheküljed' AND cl_to NOT LIKE 'Toimetamist_ootavad%' #AND p1.page_namespace = 14 ) AND EXISTS (SELECT * FROM categorylinks AS c1 WHERE page_id = c1.cl_from AND tl_title LIKE 'Täpsustuslehekülg' OR 'Täpsustus' AND tl_namespace = 10 #AND p1.page_namespace = 14 ) #GROUP BY page_title ORDER BY page_title ASC 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...