Difference between revisions of "Yurttas/PL/DBL/mysql/F/01/00/bank/BankOne/a02.sql"

From ZCubes Wiki
Jump to navigation Jump to search
(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...")
 
(No difference)

Latest revision as of 16:00, 3 November 2013

 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;