Re: [firebird-support] Re: SubQuery Help

2014-09-16 Thread 'Martijn Tonies (Upscene Productions)' m.ton...@upscene.com [firebird-support]
I think this needs a GROUP BY a.Project_PK With regards, Martijn Tonies Upscene Productions http://www.upscene.com Download Database Workbench for Oracle, MS SQL Server, Sybase SQL Anywhere, MySQL, InterBase, NexusDB and Firebird! From: mailto:firebird-support@yahoogroups.com Sent: Tuesday,

Re: [firebird-support] Re: SubQuery Help

2014-09-16 Thread Dixon Epperson dixonepper...@gmail.com [firebird-support]
@yahoogroups.com /divdivDate:09/16/2014 12:16 PM (GMT-05:00) /divdivTo: firebird-support@yahoogroups.com /divdivSubject: Re: [firebird-support] Re: SubQuery Help /divdiv /divI think this needs a GROUP BY a.Project_PK With regards, Martijn Tonies Upscene Productions http://www.upscene.com Download

Re: [firebird-support] Re: SubQuery Help

2014-09-16 Thread 'Martijn Tonies (Upscene Productions)' m.ton...@upscene.com [firebird-support]
, September 16, 2014 6:38 PM To: firebird-support@yahoogroups.com Subject: Re: [firebird-support] Re: SubQuery Help Yes it does. I posted a correction but apparently it never made it Dixon [Non-text portions of this message have been removed]

Re: [firebird-support] Re: SubQuery Help

2014-09-16 Thread craig_...@coxcolvin.com [firebird-support]
Thanks everybody. I'll try it out.

RE: [firebird-support] Re: SubQuery Help

2014-09-16 Thread 'Louis van Alphen' lo...@nucleo.co.za [firebird-support]
select a.Project_PK, PC.b_cost AS Sum_of_Cost, PC.b_estimate_cost AS Sum_of_Estimated_Cost, PQ.c_qty AS Sum_of_Quantity, PQ.c_estimate_quantity AS Sum_of_Estimated_Quantity FROM Projects a LEFT JOIN ( select b.project_pk, sum(b.cost) as b_cost, sum(b.estimate_cost) as