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",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 MONTH(log_timestamp); # العدد الكلي موزع حسب الشهر وتوع التعديل select count(*) as "count",MONTH(log_timestamp) as "month",log_action from logging where log_type like "protect" and MONTH(log_timestamp) in (9,10) and YEAR(log_timestamp) = 2023 group by MONTH(log_timestamp),log_action; # العدد الكلي موزع حسب الشهر ونوع التعديل واسم المستخدم select count(*) as "count",MONTH(log_timestamp) as "month",log_action,actor.actor_name from logging inner join actor on actor.actor_id = logging.log_actor where log_type like "protect" and MONTH(log_timestamp) in (9,10) and YEAR(log_timestamp) = 2023 group by MONTH(log_timestamp),log_action,log_actor;
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...