Yurttas/PL/DBL/mysql-f-2010/01/BankTwo/a02.sql
Jump to navigation
Jump to search
1/*
2REM
3REM a02.sql
4REM
5REM Find the number of depositors for each branch.
6REM
7*/
8
9\. set-db.sql
10
11SELECT branchname, COUNT(DISTINCT customername)
12FROM Depositor
13GROUP BY branchname;