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 JOIN page ON rev_page = page_id FROM revision WHERE rev_user != 0 AND page_namespace = 0 GROUP BY user HAVING SUM(revisions) >= 300 LEFT JOIN /* Get first edit */ SELECT rev_user_text as user, min(rev_timestamp) AS primeira FROM revision WHERE rev_timestamp<= 20160729000000 ) AS user_content_revision_count 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...