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
Matěj Suchánek
.
Toggle Highlighting
SQL
/* SELECT COUNT(*) FROM revision_userindex JOIN actor_revision ON actor_id = rev_actor JOIN comment_revision ON comment_id = rev_comment_id WHERE actor_name = 'MatSuBot' AND comment_text LIKE '%missing labels%' #AND rev_timestamp BETWEEN '20200713' AND '20200718' 24632 #AND rev_timestamp BETWEEN '20200706' AND '20200711' 55919 #AND rev_timestamp BETWEEN '20200629' AND '20200704' 63166 #AND rev_timestamp BETWEEN '20200622' AND '20200626' 50006 #AND rev_timestamp BETWEEN '20200615' AND '20200619' 43826 #AND rev_timestamp BETWEEN '20200608' AND '20200612' 62733 #AND rev_timestamp BETWEEN '20200601' AND '20200605' 17827 #AND rev_timestamp BETWEEN '20200525' AND '20200529' 26238 #AND rev_timestamp BETWEEN '20200518' AND '20200522' 32090 #AND rev_timestamp BETWEEN '20200511' AND '20200515' 1364 AND rev_timestamp >= '2020'; */ /* SELECT wbc_entity_usage.*, page_id, page_latest, ar_namespace, ar_title, (SELECT MAX(log_timestamp) FROM logging WHERE ar_namespace IS NOT NULL AND ar_title IS NOT NULL AND log_namespace = ar_namespace AND log_title = ar_title AND log_type = 'delete' AND log_action = 'delete') AS last_entry FROM wbc_entity_usage LEFT JOIN page ON page_id = eu_page_id LEFT JOIN archive ON ar_page_id = eu_page_id AND ar_parent_id = 0 WHERE page_id IS NULL; SELECT wbc_entity_usage.*, page_namespace, page_title FROM wbc_entity_usage LEFT JOIN page ON page_id = eu_page_id WHERE eu_aspect = 'X'; */ SELECT P1.* FROM page AS P1, page AS P2 WHERE P1.page_namespace = 0 AND P1.page_title LIKE '%\_(%' AND P2.page_namespace = 0 AND P2.page_title LIKE '%\_(%' AND P1.page_title <> P2.page_title AND SUBSTRING_INDEX(P1.page_title, '_(', 1) = SUBSTRING_INDEX(P1.page_title, '_(', 1) AND NOT EXISTS (SELECT 1 FROM page AS P3 WHERE P3.page_namespace = 0 AND P3.page_title = SUBSTRING_INDEX(P1.page_title, '_(', 1))
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...