Read SQL Reference for details of analytic functions.
Code:Select caseid, assessid, function, date from ( Select caseid, assessid, function, date, Max(date) Over (Partition By caseid) max_date From A ) Where date = max_date /
|
Results 1 to 3 of 3
Threaded View
|
Click Here to Expand Forum to Full Width |