Hi everybody
I created the following SQL query and it does work except I need all other fields in the output.
select id,Max(dt_day)
FROM DenLab
GROUP BY id;
However I found out that whenever I add some of the other fields to select clause, it doesn't give me correct answer
for example:
select id, other field ,Max(dt_day)
FROM DenLab
GROUP BY id;
But I do need other fields!11
Is there any way to do it?
Thank you in advance
Rina
I created the following SQL query and it does work except I need all other fields in the output.
select id,Max(dt_day)
FROM DenLab
GROUP BY id;
However I found out that whenever I add some of the other fields to select clause, it doesn't give me correct answer
for example:
select id, other field ,Max(dt_day)
FROM DenLab
GROUP BY id;
But I do need other fields!11
Is there any way to do it?
Thank you in advance
Rina