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

SQL

AخA
 
USE enwiki_p;
SELECT count(*)
FROM page
JOIN templatelinks
ON page_id=tl_from
WHERE tl_title IN ('SuggestBot/userbox', 'SuggestBot/config') -- SuggestBot's templates
AND tl_namespace = 2 -- Both templates are in user-space
AND tl_from_namespace IN (2, 3) -- Links from either User or User talk.
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...