I have two tables
1.emp(eno,ename,dno,.......)
2.dept(dno,dname,loc)
I want to write a pl/sql block to display all dname and all corresponding employee names(ename) using single cursor.
eg: dname: accounting
mark
patrick
dname: research
mohan
adams
.................
.............