Yurttas/PL/DBL/mysql/F/01/00/SPJ/q06.sql
Revision as of 16:36, 3 November 2013 by MassBot1 (talk | contribs) (Created page with "<syntaxhighlight lang="sql" line start="1" enclose="div">→REM REM q06.sql REM REM Get the total quantity of part 'P01' supplied by REM supplier 'S01'. REM: \. set-db.sql ...")
1/*
2REM
3REM q06.sql
4REM
5REM Get the total quantity of part 'P01' supplied by
6REM supplier 'S01'.
7REM
8*/
9
10\. set-db.sql
11
12SELECT SUM(quantity)
13FROM Shipments
14WHERE pn = 'P01'
15 AND sn = 'S01';