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
Andreyyshore
.
These articles have multiple revisions with rev_parent_id marked as 0, as a result of merges, deletions and restorations.
Toggle Highlighting
SQL
-- SET STATEMENT max_statement_time = 1 FOR -- SELECT SLEEP(2) USE rowiki_p; SELECT actor_id FROM actor WHERE actor_user = 1271 LIMIT 1; /*USE rowiki_p; SELECT actor_user AS user_id, actor_name AS user_name, COUNT(1) AS user_articles, MAX(rev_timestamp) AS user_latestcreation FROM ( SELECT MAX(rev_id) AS rev_id, rev_actor, actor_user, actor_name, MAX(rev_timestamp) AS rev_timestamp FROM revision INNER JOIN page ON revision.rev_page = page.page_id /*LEFT JOIN ( SELECT pp_page, pp_propname FROM page_props WHERE pp_propname = "disambiguation" ) AS pp ON revision.rev_page = pp.pp_page*//* LEFT JOIN actor ON revision.rev_actor = actor.actor_id WHERE (rev_parent_id = 0 AND page_namespace = 0 AND page_is_redirect = 0 /*AND pp_propname IS NULL*//*) GROUP BY rev_page ) AS utilizatori GROUP BY user_id HAVING user_articles >= 10 ORDER BY user_articles DESC LIMIT 2000;*/
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...