Find all customers who have at most one account at the Perryridge branch

Phương Quyên

New member
Find all customers who have at most one account 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)<=1;
 

Tìm kiếm

Back
Top