Fork of
WikiDaheim 2019 media by date
by Braveheart
This query is marked as a draft
This query has been published
by Braveheart.
SQL
x
USE commonswiki_p;
SELECT /* SLOW_OK */ DATE_FORMAT(DATE_ADD(img_timestamp, INTERVAL 2 Hour),'%Y-%m-%d') AS date, COUNT(image.img_name) as images
FROM image, page, categorylinks
WHERE page.page_id=categorylinks.cl_from
AND image.img_name = page.page_title
AND categorylinks.cl_to = "Media_from_WikiDaheim_2020_in_Austria/all"
AND img_timestamp BETWEEN 20200630220000 AND 20201004220000
GROUP BY date desc;
By running queries you agree to the Cloud Services Terms of Use and you irrevocably agree to release your SQL under CC0 License.
All SQL code is licensed under CC0 License.