Yurttas/PL/DBL/oracle/F/01/Bank/a02.sql

From ZCubes Wiki
Jump to navigation Jump to search
1REM
2REM a02.sql
3REM
4REM Find the number of depositors for each branch.
5REM
6
7SELECT branchname, COUNT(DISTINCT customername)
8FROM Depositor
9GROUP BY branchname;