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
Teibit
.
For each wiki user we want to see how many edits they've done in an IAL and in any of the top Wikipedia languages.
Toggle Highlighting
SQL
SELECT * FROM ( SELECT simple_rev.rev_user AS User_ID, COUNT(simple_rev.rev_user) AS Contributions_in_Simple_English FROM simplewiki_p.revision AS simple_rev GROUP BY User_ID ) AS Simple_English LEFT OUTER JOIN ( SELECT eo_rev.rev_user AS User_ID, COUNT(eo_rev.rev_user) AS Contributions_in_Esperanto FROM eowiki_p.revision AS eo_rev GROUP BY User_ID ) AS Esperanto USING (User_ID) LEFT OUTER JOIN ( SELECT io_rev.rev_user AS User_ID, COUNT(io_rev.rev_user) AS Contributions_in_Ido FROM iowiki_p.revision AS io_rev GROUP BY User_ID ) AS Ido USING (User_ID) LEFT OUTER JOIN ( SELECT ia_rev.rev_user AS User_ID, COUNT(ia_rev.rev_user) AS Contributions_in_Interlingua FROM iawiki_p.revision AS ia_rev GROUP BY User_ID ) AS Interlingua USING (User_ID) LEFT OUTER JOIN ( SELECT nov_rev.rev_user AS User_ID, COUNT(nov_rev.rev_user) AS Contributions_in_Novial FROM novwiki_p.revision AS nov_rev GROUP BY User_ID ) AS Novial USING (User_ID) LEFT OUTER JOIN ( SELECT ie_rev.rev_user AS User_ID, COUNT(ie_rev.rev_user) AS Contributions_in_Interlingue FROM iewiki_p.revision AS ie_rev GROUP BY User_ID ) AS Interlingue USING (User_ID) LEFT OUTER JOIN ( SELECT vo_rev.rev_user AS User_ID, COUNT(vo_rev.rev_user) AS Contributions_in_Volapük FROM vowiki_p.revision AS vo_rev GROUP BY User_ID ) AS Volapük USING (User_ID) LEFT OUTER JOIN ( SELECT en_rev.rev_user AS User_ID, COUNT(en_rev.rev_user) AS Contributions_in_English FROM enwiki_p.revision AS en_rev GROUP BY User_ID ) AS English USING (User_ID);
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...