This query is marked as a draft This query has been published by Isaac (WMF).

SQL

AخA
 
SELECT
  el_to_domain_index,
  COUNT(DISTINCT(el_from)) AS num_pages
FROM externallinks el
INNER JOIN page p
  ON (el.el_from = p.page_id
      AND p.page_namespace = 0)
WHERE
  (el_to_domain_index = "https://com.x." OR
   el_to_domain_index = "https://com.twitter.www.")
  AND el_to_path LIKE "%status%"  # make sure actual post and not generic link to X/Twitter (happens sometimes in broken templates)
GROUP BY el_to_domain_index
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...