SQL
x
SET @pat='(?i)nortreus';
SELECT DISTINCT page_namespace, page_title, 1 AS existing
FROM page
WHERE page_title RLIKE @pat
UNION
SELECT DISTINCT ar_namespace, ar_title, 0
FROM archive
WHERE ar_title
RLIKE @pat;
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.