This query is marked as a draft This query has been published by Aca.

SQL

x
 
SELECT
  t.page_title AS "Šablon",
  MIN(p.page_title) AS "Podstranica",
  COUNT(*) AS "Broj transkluzija"
FROM page AS t
JOIN templatelinks AS tl
  ON tl.tl_namespace = t.page_namespace
  AND tl.tl_title = t.page_title
JOIN page AS p
  ON p.page_id = tl.tl_from
WHERE t.page_namespace = 10
GROUP BY t.page_title
HAVING COUNT(*) = 1
  AND MIN(p.page_title) = CONCAT(t.page_title, '/dok');
By running queries you agree to the Cloud Services Terms of Use and you irrevocably agree to release your SQL under CC0 License.
All SQL code is licensed under CC0 License.

Checking query status...