Skip to content

2990. Loan Types

1
2
3
4
5
6
SELECT user_id
FROM Loans
WHERE loan_type IN ('Refinance', 'Mortgage')
GROUP BY 1
HAVING COUNT(DISTINCT loan_type) = 2
ORDER BY 1;