with t (c,p) as (
select 2,1 from dual
), rec (c,p) as (
select c,p from t
union all
select t.* from rec join t on rec.c = t.p
)
select * from rec
ORA-01789: query block has incorrect number of result columnsMore Details: https://docs.oracle.com/error-help/db/ora-01789
with t (c,p) as (
select 2,1 from dual
), rec (c,p) as (
select c,p from t
union all
select t.c,t.p from rec join t on rec.c = t.p
)
select * from rec
C | P | 2 | 1 |
---|
select * from v$version
BANNER | BANNER_FULL | BANNER_LEGACY | CON_ID | Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production | Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production Version 19.8.0.0.0 | Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production | 0 |
---|