Forum Replies Created

Viewing post 1 (of 2 total)

  • Reply To: Aggregate from two tables

    Phil, thank you for the hint regarding CTE

    The final query that works:

    With cte as 
    (SELECT cb.[sl entry no], tot_cost = sum(cb.cost) from cb group by cb.[sl entry...

Viewing post 1 (of 2 total)