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
Zache
.
Toggle Highlighting
SQL
SELECT floor(COALESCE(fi_i.img_timestamp, c_i.img_timestamp)/10000000000) as year, count(distinct(il_to)) as number_of_images, count(distinct(COALESCE(fi_i.img_user_text, c_i.img_user_text))) as number_of_uploaders FROM fiwiki_p.page as p1, fiwiki_p.categorylinks as cl, fiwiki_p.imagelinks as il LEFT JOIN fiwiki_p.image AS fi_i ON il_to=fi_i.img_name LEFT JOIN commonswiki_p.image AS c_i ON c_i.img_name=il_to WHERE il_from=cl_from AND p1.page_namespace=0 AND p1.page_id=cl_from AND cl_to = "Luettelot_Suomen_julkisista_taideteoksista_ja_muistomerkeistä" AND (c_i.img_media_type != "DRAWING" OR c_i.img_media_type IS NULL) GROUP BY year;
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...