Hi
I am using DataAccessAdapter and I have the following query.
SELECT
t1.,t2., MinPrice, MaxPrice
FROM Table1 t1
INNER JOIN Table2 t2 t1.t1ID= t2.t2ID
LEFT JOIN
(
SELECT ProductID, MinPrice=MIN(price), MaxPrice=MAX(price)
FROM Table3 t3 WHERE t3.status = 1
GROUP BY ProductID
)
AS newTable ON newTable.ProductID = t1.ProductID
Please let me know how to write this relationship in LLBLGEN. Is there any good alternate way to write this query?
Thanks