Yurttas/PL/DBL/mysql/F/01/00/bank/BankOne/a02.sql
Revision as of 16:00, 3 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: \. set-db.sql SELECT branchname, CO...")
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;