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 "block" 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 "block" and MONTH(log_timestamp) in (9,10) and YEAR(log_timestamp) = 2023 group by log_action,MONTH(log_timestamp); select actor.*, if(actor_user == null,'ip','user') as "user_type" from logging inner join actor on actor.actor_name = logging.log_title where log_type like "block" and MONTH(log_timestamp) in (9,10) and YEAR(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...