SQL
AخA
SELECT REGEXP_REPLACE(page_title, ".*\\((.*)\\)", "\\1") AS qualifier, page_title
FROM linktarget
JOIN templatelinks ON tl_target_id=linktarget.lt_id AND tl_from_namespace=0
JOIN page ON page_id=tl_from AND page_title LIKE "%_(%)"
WHERE lt_namespace=10 AND lt_title IN ("For", "About", "Other_uses")
ORDER BY qualifier, page_title
LIMIT 10;
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.