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 editor, revisions, primeira FROM ( /* Get 300 revisions to content pages that are still visible */ (SELECT rev_user_text as editor, SUM(rev_id IS NOT NULL) AS revisions FROM revision JOIN page ON rev_page = page_id WHERE page_namespace = 0 GROUP BY editor HAVING revisions >=300) as tabela1 LEFT JOIN tabela2 on tabela1.editor = tabela2.editor /* Get first edit */ (SELECT rev_user_text as editor, min(rev_timestamp) AS primeira FROM revision WHERE rev_timestamp<= 20160729000000 ) AS tabela2 ) 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...