Difference between revisions of "Yurttas/PL/DBL/mysql-f-2010/01/BankTwo/q100.sql"
Jump to navigation
Jump to search
(Created page with "<syntaxhighlight lang="sql" line start="1" enclose="div">→REM REM q100.sql REM REM Find all customers with both loan and an account REM at the 'Caldwell' branch. REM: \. ...") |
(No difference)
|
Latest revision as of 01:56, 4 November 2013
1/*
2REM
3REM q100.sql
4REM
5REM Find all customers with both loan and an account
6REM at the 'Caldwell' branch.
7REM
8*/
9
10\. set-db.sql
11
12SELECT customername
13FROM Depositor
14WHERE branchname = 'Caldwell'
15 AND customername IN (SELECT customername
16 FROM Borrower
17 WHERE branchname = 'Caldwell');