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

SQL

AخA
 
USE zhwiki_p;
SELECT COUNT(*)
FROM logging
WHERE log_type = 'patrol'
  AND log_namespace = 0
  AND log_actor = (
    SELECT actor_id
    FROM actor
    WHERE actor_user = (
      SELECT user_id
      FROM user
      WHERE user_name = 'AT'
    )
  )
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...