CREATE OR REPLACE TYPE CityORType AS OBJECT
 ( Name VARCHAR2(40),
   Province VARCHAR2(40),
   Country VARCHAR2(4),
   Population NUMBER,
   Coordinates GeoCoord,
   MEMBER FUNCTION Distance (other IN CityORType) RETURN NUMBER,
   MEMBER FUNCTION NoOfOrganizations RETURN NUMBER );
/
