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
Stefterv
.
Toggle Highlighting
SQL
/* Find pages, find revisions per page and count the number of unique users */ USE nlwiki_p; /* find page by name */ SELECT page_id,page_title FROM page WHERE page_title='Periodiek_systeem' LIMIT 1; /* find users per page */ SELECT COUNT(DISTINCT(rev_user)) FROM revision WHERE rev_page=1338 AND rev_user > 0; /* find page and count users */ SELECT COUNT(DISTINCT(rev_user)) FROM revision WHERE rev_user > 0 AND rev_page IN (SELECT page_id,page_title FROM page WHERE page_title='Periodiek_systeem');
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...