I successfully created an EmployeeType in Oracle 11g with the following atrributes;
emp_id VARCHAR2(5)
title VARCHAR(15)
firstname VARCHAR(20)
surname VARCHAR(20)
address Addresstype
tel_no ARRAY(3) of VARCHAR(15)
get_address() VARCHAR2()
and was told to create DepartmentType in Oracle 11g with the following attributes
dept_id VARCHAR2(3)
location AddressType
manager REF Employee
but my problem now is I don't know how to use the object-relational REF construct to define object-references between the two tables for relating Departments to Employees so that I can create table which will store department details and insert rows.