This query is marked as a draft This query has been published by Polibil.

SQL

x
 
#1
SELECT MIN(rev_id), page_title, cl_to
#2
FROM dewiki_p.page p 
#3
INNER JOIN dewiki_p.categorylinks cl ON p.page_id = cl.cl_from 
#4
INNER JOIN dewiki_p.revision r ON p.page_id = r.rev_page 
#5
WHERE p.page_namespace = 0
#6
AND cl.cl_to = "Jahr (20. Jahrhundert)"
#7
GROUP BY page_id;
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.

Checking query status...