SQL
AخA
SELECT CONCAT('Category:', REPLACE(page_title, '_', ''))
FROM page
WHERE page_namespace = 14 -- category
AND page_title LIKE '%LGBT%'
AND page_title NOT LIKE '%LGBTQ%'
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.