SQL
AخA
SELECT *, (SELECT COUNT(*) FROM revision WHERE rev_page = page_id) AS num_of_revisions
FROM page
WHERE page_namespace = 118
AND page_len = 0
ORDER BY num_of_revisions ASC
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.