Hallo i'm trying to run this query on infinidb
SELECT *
FROM wgl
left outer join lwa on wgl.wgl_id = lwa.wgl_id
WHERE lwa.lwa_id = (select min(lwa_id) from lwa where wgl.wgl_id = lwa.wgl_id);
here there are many lwa-tupel having the same wgl-id and i want the smallest one
but i recieve this error witch i dont understand
ERROR 138 (HY000): IDB-3012: Scalar filter and semi join are not from the same pair of tables.
and i cant find any thing on this error in google or infinidb forums or ducumentations
thanx for ur help