Select PROJTABLE.PROJID,DTPROJECTVALUE,PROJPROPOSALJOUR.LINEPROPERTY,PROJINVOICETABLE.PROJINVOICEPROJID ,sum(PROJPROPOSALJOUR.INVOICEAMOUNT) as amount from PROJTABLE
join PROJINVOICETABLE on PROJINVOICETABLE.PROJINVOICEPROJID = PROJTABLE.PROJINVOICEPROJID
join PROJPROPOSALJOUR on PROJPROPOSALJOUR.PROJINVOICEPROJID = PROJTABLE.PROJINVOICEPROJID
join PROJINVOICEJOUR on PROJPROPOSALJOUR.PROPOSALID = PROJINVOICEJOUR.PROPOSALID
AND PROJPROPOSALJOUR.LINEPROPERTY = '3'
group by PROJTABLE.PROJID,DTPROJECTVALUE,PROJPROPOSALJOUR.LINEPROPERTY,PROJINVOICETABLE.PROJINVOICEPROJID
order by PROJINVOICETABLE.PROJINVOICEPROJID
André Arnaud de Cal... 291,711 Super User 2024 Season 2
Martin Dráb 230,458 Most Valuable Professional
nmaenpaa 101,156