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
Framawiki
.
From https://github.com/mzmcbride/database-reports/blob/master/general/mostwatched.py
Toggle Highlighting
SQL
/* mostwatched.py SLOW_OK */ SELECT wl_namespace, wl_title, COUNT(*) FROM watchlist JOIN page ON wl_namespace = page_namespace AND wl_title = page_title WHERE wl_namespace mod 2 = 0 AND wl_namespace >= 0 GROUP BY wl_namespace, wl_title ORDER BY COUNT(*) DESC, wl_title ASC LIMIT 500;
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...