OQL Query for Addition of attributes

0
My entity looks like this. In here i have to add 3 attributes to get TotalPrice        "Tax+Showroomprice+Insurance= TotalPrice" Can someone please help me in achieving this through OQL query, I am facing issue with adding attributes in the query. The result am storing in a non-persistable entity
asked
1 answers
0

In your SELECT statement you could do something like

SELECT (Car/Tax + Car/ShowroomPrice + Car/Insurance) AS TotalPrice

answered