select List from(
select abs(a-b) as a,abs(b-c) as b,abs(c-d) as c,abs(d-a) as d,List from(
select abs(a-b) as a,abs(b-c) as b,abs(c-d) as c,abs(d-a) as d,List from(
select abs(a-b) as a,abs(b-c) as b,abs(c-d) as c,abs(d-a) as d,List from(
select abs(a-b) as a,abs(b-c) as b,abs(c-d) as c,abs(d-a) as d,List from(
select abs(a-b) as a,abs(b-c) as b,abs(c-d) as c,abs(d-a) as d,List from(
select abs(a-b) as a,abs(b-c) as b,abs(c-d) as c,abs(d-a) as d,List from(
select abs(a-b) as a,abs(b-c) as b,abs(c-d) as c,abs(d-a) as d,List from(
select abs(a-b) as a,abs(b-c) as b,abs(c-d) as c,abs(d-a) as d,List from(
select abs(a-b) as a,abs(b-c) as b,abs(c-d) as c,abs(d-a) as d,List from(
select a.Val as a,b.Val as b,c.Val as c,d.Val as d,
to_char(a.Val) || ',' || to_char(b.Val) || ',' || to_char(c.Val) || ',' || to_char(d.Val) as List
from (select RowNum as Val from all_catalog where RowNum <= 15) a,
(select RowNum as Val from all_catalog where RowNum <= 15) b,
(select RowNum as Val from all_catalog where RowNum <= 15) c,
(select RowNum as Val from all_catalog where RowNum <= 15) d
where a.Val <= c.Val and b.Val <= d.Val
and a.Val <= b.Val)
where 0!= any(a-b,b-c,c-d,d-a))
where 0!= any(a-b,b-c,c-d,d-a))
where 0!= any(a-b,b-c,c-d,d-a))
where 0!= any(a-b,b-c,c-d,d-a))
where 0!= any(a-b,b-c,c-d,d-a))
where 0!= any(a-b,b-c,c-d,d-a))
where 0!= any(a-b,b-c,c-d,d-a))
where 0!= any(a-b,b-c,c-d,d-a))
where 0!= any(a-b,b-c,c-d,d-a))
where 0 = all(a-b,b-c,c-d,d-a);