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

SQL

x
 
SELECT COUNT(*) AS broj_sablona_sa_jednom_upotrebom
FROM (
  SELECT t.page_id
  FROM page AS t
  JOIN templatelinks AS l ON l.tl_target_id = t.page_id
  WHERE t.page_namespace = 10
  GROUP BY t.page_id
  HAVING COUNT(*) = 1
) AS sub;
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...