What are the names of customers who have both savings and checking accounts?
SELECT cust_name FROM customer WHERE acc_type  =  'saving' INTERSECT SELECT cust_name FROM customer WHERE acc_type  =  'checking'
names of customers who have both savings and checking accounts refers to the INTERSECT operation between two SELECT queries; one for 'saving' and one for 'checking' account types.