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
Fæ
.
This example is to show where time-outs are occurring for SQL queries.
Toggle Highlighting
SQL
USE commonswiki_p; SELECT DISTINCT page_title, (SELECT COUNT(rev_timestamp) FROM revision WHERE page_id=rev_page AND page_namespace=6) AS Edits FROM page JOIN categorylinks ON page_id=cl_from JOIN revision ON page_id=rev_page WHERE cl_to IN ("Media_from_Etnografiska_museet","Media_from_Medelhavsmuseet","Media_contributed_by_SMVK_2016-12","Media_contributed_by_SMVK_with_faulty_depicted_persons","Media_contributed_by_SMVK_without_full_description","Media_contributed_by_SMVK_without_photographer","Media_from_the_Museum_of_World_Culture_(Göteborg)","Photographs_by_Oscar_Ekholm","Media_from_Östasiatiska_museet","Media_from_the_National_Museums_of_World_Culture") AND page_namespace=6 ORDER BY (SELECT COUNT(rev_timestamp) FROM revision WHERE page_id=rev_page) DESC LIMIT 24;
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...