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
Grte2209
.
Toggle Highlighting
SQL
#Use Pennsylvania German Wikipedia USE pdcwiki_p; #distinct editors who have edited each article (U) #SELECT rev_page, page_title, COUNT(DISTINCT rev_user) AS U_Distinct_Editors_Each_Article FROM revision JOIN page ON rev_page = page_id GROUP by rev_page; #number of revisions of each article (E) #SELECT rev_page, page_title, COUNT(rev_id) AS E_Number_Revisions_Each_Article FROM revision JOIN page ON rev_page = page_id GROUP by rev_page DESC; #length of the article in bytes (L) #SELECT rev_page, page_title, COUNT(page_len) AS L_Length_Article_In_Bytes FROM revision JOIN page ON rev_page = page_id GROUP by rev_page DESC; #length of talk pages (T) #SELECT rev_page, page_title, COUNT(page_namespace) AS T_Length_Talk_Pages FROM revision JOIN page ON rev_page = page_id GROUP by rev_page DESC; #Is redirect? SELECT rev_page, page_title, (page_is_redirect) AS Redirect_Page FROM revision JOIN page ON rev_page = page_id GROUP by rev_page 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...