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

SQL

x
 
SELECT actor_name, count(log_actor)
from logging
join actor on (logging.log_actor = actor.actor_id)
join user_groups
on actor_user = ug_user
and logging.log_type in ('delete')
and ug_group = 'sysop'
Where page_namespace = 1
group by logging.log_actor
order by count(log_actor) desc
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.

Query status: failed

Error
Unknown column 'page_namespace' in 'where clause'