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
DatGuy
.
Toggle Highlighting
SQL
/* project_watchers.py */ /* SLOW_OK */ SELECT wl_title AS project, COUNT(*) AS watchers, IFNULL(SUM(ts_wl_user_touched_cropped>NOW()-INTERVAL 30 DAY), 0) AS active FROM watchlist JOIN page ON page_namespace = wl_namespace AND page_title = wl_title WHERE wl_title LIKE 'WikiProject\_%' AND wl_title NOT LIKE '%/%' AND wl_namespace = 4 GROUP BY project HAVING watchers >= 100 ORDER BY watchers DESC
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...