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

SQL

x
 
use hewiki_p;
select log_timestamp as date, log_title as name, log_user_text as sysop, log_comment as comment from logging_logindex as l1
where log_action = "delete"
and log_namespace = 1
and not exists
(select * from page
 where page_namespace = 1
 and page_title = log_title)
and (exists
(select * from logging_logindex as l3
 where l3.log_namespace = 1
 and l3.log_title = log_title)
or exists
(select * from page
 where page_namespace = 1
 and page_title = log_title))
and log_timestamp like "2011%"
order by log_timestamp
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...