SELECT owner, object_type, count(*) object_count, TO_CHAR(MAX(last_ddl_time),'dd-Mon-yyyy') last_ddl_time FROM dba_objects GROUP BY owner, object_type ORDER BY owner, object_type;