Hi Experts,
I have a table Transaction that is linked in a one to many on TransactionLabourItem. Each TransactionLabourItem has a Qty and Rate so i can calculate the derived Cost as Qty * Rate, easy peasy
I'd like to write a select statement that returns 1 row per transaction that has a total Cost per Transaction but i can't group by Cost as it's derived and Sum would sum the whole table, i'm scratching my head here, how do i do it ??
thanks in advance...
Start Free Trial