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.ll_title = t.page_title
JOIN page AS p ON p.page_id = tl.ll_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.