Vi kan bruge multiplicere kolonner i en IN-sætning:
select id, bdate, value
from myview
where (id, bdate) in
(select id, max(bdate)
from myview group by id)
/
Vi kan bruge multiplicere kolonner i en IN-sætning:
select id, bdate, value
from myview
where (id, bdate) in
(select id, max(bdate)
from myview group by id)
/