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

From ZCubes Wiki
Revision as of 22:50, 4 November 2013 by MassBot1 (talk | contribs) (Created page with "<syntaxhighlight lang="sql" line start="1" enclose="div"> REM REM a02.sql REM REM Find the number of depositors for each branch. REM SELECT branchname, COUNT(DISTINCT custome...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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;