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
Cwek
.
Toggle Highlighting
SQL
select l2.* from ( select REGEXP_SUBSTR(SUBSTRING(l.log_params,5),'curid";s:\\d+:"\\K\\d+') curid, REGEXP_SUBSTR(SUBSTRING(l.log_params,5),'previd";s:\\d+:"\\K\\d+') previd, REGEXP_SUBSTR(SUBSTRING(l.log_params,5),'auto";i:\\K\\d') auto_patrol, l.* from logging l /* left join log_search ls on l.log_id = ls.ls_log_id */ where l.log_type ='patrol' /* and l.log_params not like '%s:9:"5::previd";s:1:"0";%' */ order by l.log_timestamp desc ) l2 limit 30 ;
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...