Yurttas/PL/DBL/mssql/F/01/Bank/a02.sql
Revision as of 04:24, 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: SELECT branchname, COUNT(DISTINCT cu...")
1/*
2REM
3REM a02.sql
4REM
5REM Find the number of depositors for each branch.
6REM
7*/
8
9SELECT branchname, COUNT(DISTINCT customername)
10FROM Depositor
11GROUP BY branchname;