I'm trying to combine the GROUP BY function with a MAX in oracle. I read a lot of docs around, try to figure out how to format my request by Oracle always returns:
ORA-00979: "not a group by expression"
Here is my request:
SELECT A.T_ID, B.T, MAX(A.V)
FROM bdd.LOG A, bdd.T_B B
WHERE B.T_ID = A.T_ID
GROUP BY A.T_ID
HAVING MAX(A.V) < '1.00';
Any tips ?
EDIT It seems to got some tricky part with the datatype of my fields.
T_IDisVARCHAR2A.VisVARCHAR2B.TisCLOB