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
OTAVIO1981
.
Users with more than 300 edits at pt wiki and first was earliar than 90 days ago from 27/10/2016
Toggle Highlighting
SQL
USE ptwiki_p; select FirstSet.Editor ,FirstSet.Edicao ,SecondSet.Primeira from (SELECT rev_user_text as Editor, SUM(rev_id IS NOT NULL) AS Edicao FROM revision JOIN page ON rev_page = page_id WHERE page_namespace = 0 GROUP BY editor HAVING Edicao >=300 ) as FirstSet inner join (SELECT rev_user_text as Editor, min(rev_timestamp) AS primeira FROM revision WHERE rev_timestamp<= 20160729000000 group by Editor ) as SecondSet on FirstSet.Editor = SecondSet.Editor group by Editor
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...