Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
This query is marked as a draft
This query has been published
by
لوقا
.
Toggle Highlighting
SQL
/** جميع الحمايه المنع خلال شهر ٩ و ١٠ **/ /* select count(*) as "count" from logging where log_type like "protect" and MONTH(log_timestamp) in (9,10) and YEAR(log_timestamp) = 2023; */ /** جميع عمليات الحمايه خلال شهر ٩ و ١٠ حسب نوع الحمايه (الغاء حمايه - حمايه - تجديد حمايه) **/ /* select count(*) as "count",log_action,MONTH(log_timestamp) as "month" from logging where log_type like "protect" and MONTH(log_timestamp) in (9,10) and YEAR(log_timestamp) = 2023 group by log_action,MONTH(log_timestamp); */ # 171 select * from logging where log_type like "protect" and MONTH(log_timestamp) in (10) and YEAR(log_timestamp) = 2023 limit 10; select * from protected_titles_compat limit 10 ; SELECT logging.*, CASE WHEN protected_titles_compat.pt_expiry = 'infinity' THEN 'infinity' ELSE 'not infinity' END AS protection_status FROM logging LEFT JOIN protected_titles_compat ON logging.log_title = protected_titles_compat.pt_title WHERE logging.log_type LIKE 'protect' AND MONTH(logging.log_timestamp) = 10 AND YEAR(logging.log_timestamp) = 2023;
By running queries you agree to the
Cloud Services Terms of Use
and you irrevocably agree to release your SQL under
CC0 License
.
Submit Query
Stop Query
All SQL code is licensed under
CC0 License
.
Checking query status...