Find the name of customers who have both saving and checking account types.
SELECT cust_name FROM customer WHERE acc_type  =  'saving' INTERSECT SELECT cust_name FROM customer WHERE acc_type  =  'checking'
customers who have both saving and checking account types refers to finding intersections of customers with saving accounts and customers with checking accounts;