Можете да опитате
SELECT u.*
FROM Users u INNER JOIN
Domains d ON u.UserEmail LIKE '%'+ d.Domain
Или дори опитайте
SELECT u.*
FROM Users u
WHERE EXISTS(SELECT 1 FROM Domains d WHERE u.UserEmail LIKE '%' + d.Domain)
Можете да опитате
SELECT u.*
FROM Users u INNER JOIN
Domains d ON u.UserEmail LIKE '%'+ d.Domain
Или дори опитайте
SELECT u.*
FROM Users u
WHERE EXISTS(SELECT 1 FROM Domains d WHERE u.UserEmail LIKE '%' + d.Domain)