Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
Fork of
pmp patrols per user in the last 24 hrs
by
Saeidpourbabak
This query is marked as a draft
This query has been published
by
Yamaha5
.
Toggle Highlighting
SQL
USE fawiki_p; SELECT user_name, COUNT(log_id) cnt FROM user JOIN logging ON log_user = user_id LEFT JOIN user_groups ON log_user = ug_user AND ug_group = 'bot' WHERE log_type ='patrol' AND log_action='patrol' AND ( log_params LIKE '%auto";i:0;}' OR log_params LIKE '%0' ) AND ug_group IS NULL AND MONTH(CURRENT_TIMESTAMP - log_timestamp) < 1 GROUP BY log_user, log_action ORDER BY cnt DESC limit 10;
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...