Yurttas/PL/DBL/mysql-f-2010/01/BankOne/a02.sql
Revision as of 01:51, 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: \. 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;