In the following example I create a VARRAY with 3 items.
TEST@XE> select t1, t2.* from 2 (select \'X\' as t1 from dual UNION select \'Y\' from dual) t1
select t1, row_number() over ( partition by t1 order by t1), t2.* from (select 'X' as t1 from dual UNION select 'Y' from dual) t1, table (sys.odcivarchar2list('a', 'b', 'c')) t2;