Database: loan_1
Question: Find the name of customers who have both saving and checking account types.
SQL:
SELECT cust_name FROM customer WHERE acc_type  =  'saving' INTERSECT SELECT cust_name FROM customer WHERE acc_type  =  'checking'