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
Xiplus
.
Toggle Highlighting
SQL
USE zhwiki_p; SELECT create_log.log_title, ug_group, patrol_log.log_id FROM ( SELECT * FROM logging WHERE log_timestamp < 20190615000000 AND log_timestamp > 20190515000000 AND log_type = 'create' AND log_namespace = 0 ORDER BY log_timestamp DESC ) create_log LEFT JOIN page ON log_namespace = page_namespace AND log_title = page_title LEFT JOIN actor ON log_actor = actor_id LEFT JOIN ( SELECt * FROM user_groups WHERE ug_group IN ('autoreviewer', 'sysop', 'patroller') ) user_groups ON actor_user = ug_user LEFT JOIN ( SELECT * FROM logging WHERE log_timestamp > 20190515000000 AND log_type = 'patrol' AND log_namespace = 0 ) AS patrol_log ON patrol_log.log_type = 'patrol' AND patrol_log.log_namespace = create_log.log_namespace AND patrol_log.log_title = create_log.log_title WHERE page_id IS NOT NULL AND page_is_redirect = 0
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...