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

SQL

AخA
 
select
    row_number() over (order by page_latest desc) as ord,
    page_title,
    max(page_latest) as latest_rev_id
from page
    inner join categorylinks on cl_from = page_id
where
    page_namespace = 0 and
    cl_to = "polski_(indeks)"
group by
    page_id
order by
    page_latest 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.

Checking query status...