I have a created a query within the AOT and I need to add a subquery using the tsql below. This will be the datasource for a SSRS report, so I can not use a view. Is it possible to add subquery to a query? Thanks!
left outer join
(
select t1.ITEMID ,sum(t1.qty)Balance
from INVENTTRANS t1
join InventTransPosting t2
on t1.INVENTTRANSORIGIN = t2.INVENTTRANSORIGIN and
group by t1.ITEMID ) s
*This post is locked for comments
I have the same question (0)