> Hi:
>
[quoted text clipped - 14 lines]
>
> -spa.
Think you want something like this..
SELECT o.NAME, o.ID, o.DATE, SUM(i.AMOUNT)
FROM orderTable o, orderItem i
WHERE o.id = i.id
GROUP BY o.NAME, o.id, o.DATE;

Signature
Thanks in Advance...
IchBin, Pocono Lake, Pa, USA
http://weconsultants.servebeer.com/JHackerAppManager
__________________________________________________________________________
'If there is one, Knowledge is the "Fountain of Youth"'
-William E. Taylor, Regular Guy (1952-)
IchBin - 19 Jan 2006 20:49 GMT
> Think you want something like this..
Sorry
SELECT o.NAME, o.ID, o.DATE, SUM(i.AMOUNT)
FROM orderTable o, orderItem i
WHERE o.id = i.ORDERID
GROUP BY o.NAME, o.id, o.DATE;

Signature
Thanks in Advance...
IchBin, Pocono Lake, Pa, USA
http://weconsultants.servebeer.com/JHackerAppManager
__________________________________________________________________________
'If there is one, Knowledge is the "Fountain of Youth"'
-William E. Taylor, Regular Guy (1952-)