Database: loan_1
Question: What are the names of customers who have both savings and checking accounts?
SQL:
SELECT cust_name FROM customer WHERE acc_type  =  'saving' INTERSECT SELECT cust_name FROM customer WHERE acc_type  =  'checking'