I have this query:
SELECT AGG_NAME, MAX(AGG_RELNUM) RELNUM, MAX(AGG_RELSPEC ) RELSPEC, MAX(ED)
EDIZ
FROM
(SELECT .....
) AT GROUP BY AGG_NAME
The problem that the query reply records in which the values is different
from the value in tables. My query is correct???
Is possible to use three MAX in the same query??
Thank you
SELECT AGG_NAME, MAX(AGG_RELNUM) RELNUM, MAX(AGG_RELSPEC ) RELSPEC, MAX(ED)
EDIZ
FROM
(SELECT .....
) AT GROUP BY AGG_NAME
The problem that the query reply records in which the values is different
from the value in tables. My query is correct???
Is possible to use three MAX in the same query??
Thank you
Comment