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

SQL

AخA
 
SELECT page_id, page_title, page_random, page_random - (LAG(page_random) OVER (ORDER BY page_random)) AS gap
FROM page
WHERE page_namespace=0 AND page_is_redirect=0 AND
    -- page_random >= 0.5 AND page_random <= 0.51 AND -- limit to an arbitrary small subset of pages for query testing
    -- exclude dab pages
    NOT EXISTS (SELECT * FROM page_props WHERE page_id=pp_page AND pp_propname='disambiguation')
ORDER BY gap
LIMIT 600000
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...