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
Anotheroii
.
Toggle Highlighting
SQL
USE lawiki_p; SELECT * FROM revision LIMIT 10; # SELECT DISTINCT rev_page FROM revision; # SELECT rev_page, COUNT (DISTINCT rev_actor) AS u FROM revision GROUP BY rev_page LIMIT 10; #COUNT (DISTINCT rev_actor) AS u FROM revision #GROUP BY rev_page; #COUNT(DISTINCT rev_actor) FROM revision #GROUP BY rev_actor #LIMIT 10; # COUNT(rev_id) AS editcounts FROM revision GROUP by rev_actor ORDER BY editcounts DESC LIMIT 10; # SELECT COUNT (DISTINCT rev_page) AS pages, COUNT(DISTINCT rev_actor) AS authorcount FROM revision; # SELECT COUNT(DISTINCT rev_actor) AS usercounts, COUNT(rev_id) editcounts FROM revision # JOIN page ON page_id = rev_page group by rev_page LIMIT 10;
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...