SELECT * FROM users
JOIN profiles
ON profiles.id = users."profileId"
WHERE
profiles.email NOT ILIKE '%@invisible.email%' AND
profiles.email NOT ILIKE '%@inv.tech%' AND
"offboarded" = FALSE AND
users."deletedAt" IS NULL
ORDER BY users."createdAt" DESC;