Hello
I have next problem.
I have table EMP with columns
deptno number(3)
empno number(3)
dhire date
In this table I have for example 1000 rows.
I need to write cursor which will retrieve one row per deptno, if I have many rows with the same deptno than I need the latest one (max(dhire)).
Bookmarks