Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
Fork of
WikiDaheim users 2019 (by first revision, by uploader)
by
Herzi Pinki
This query is marked as a draft
This query has been published
by
Herzi Pinki
.
Toggle Highlighting
SQL
USE commonswiki_p; set @cat:="Media_from_WikiDaheim_2019_in_Austria/all" # reference category counted set @timestamp:=20190616220000 # registration time trashold for new users SELECT /* SLOW_OK */ DISTINCT actor_name AS user, COUNT(image.img_name) as img_count, user.user_registration FROM actor, revision, image, page, categorylinks, user WHERE page.page_id=categorylinks.cl_from AND actor.actor_id = revision.rev_actor AND image.img_name = page.page_title and revision.rev_page = page.page_id and revision.rev_parent_id = 0 AND categorylinks.cl_to = "Media_from_WikiDaheim_2019_in_Austria/all" and user.user_id = actor.actor_user AND user.user_registration > 20190616220000 GROUP BY user ORDER BY img_count DESC limit 300; SELECT /* SLOW_OK */ COUNT(image.img_name) as Summe_Bilder_neuer_User FROM actor, revision, image, page, categorylinks, user WHERE page.page_id=categorylinks.cl_from AND actor.actor_id = revision.rev_actor AND image.img_name = page.page_title and revision.rev_page = page.page_id and revision.rev_parent_id = 0 AND categorylinks.cl_to = "Media_from_WikiDaheim_2019_in_Austria/all" and user.user_id = actor.actor_user AND user.user_registration > 20190616220000 ;
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...