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

SQL

AخA
 
SELECT page_title, (user_id IS NOT NULL) as user_exists
FROM page
JOIN redirect ON page_id = rd_from
LEFT JOIN `user` ON user_name = REPLACE(page_title, '_', ' ')
WHERE page_namespace = 2
    AND rd_namespace = 0
    AND page_title = rd_title
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...