Quantcast
Channel: Mendix Forum Questions
Viewing all articles
Browse latest Browse all 83468

Error in OQL

$
0
0

Hi All,

I am running below query in Postgres.It worked fine,but when I tried the same query in Java I am getting error message -Join element contains invalid location

Can any one kindly suggest does Mendix support below query or there is syntax eerror in below query?

SELECT A.Attribute1,A.Attribute2 ,A.Attribute3, A.Attribute4 FROM "Module"."Entity" AS A INNER JOIN
( SELECT B.Attribute1 as a1,MAX(B.Attribute2) as a2 FROM "Module"."Entity" AS B WHERE B.Attribute1='0030' GROUP BY B.Attribute1,B.Attribute2 ) AS C ON A.Attribute1=C.a1AND A.Attribute2 =C.a2


Viewing all articles
Browse latest Browse all 83468

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>