Find all customers who have at least two accounts at the perryridge branch

Answer: select customer_name from account natural join depositor
where branch_name = ‘Perryridge’ group by customer_name
having count(account_number)>=2;
Complex queries
 

Tìm kiếm

Back
Top