Use a LEFT JOIN (with join condition) or CROSS JOIN (no join condition) to a derived table that consists of 2 rows, then output the values via a case expression. Both approaches allow access to all columns for other conditions too.
SQL Fiddle
Oracle 11g R2 Schema Setup:
CREATE TABLE TABLE1
(COLUMN1 VARCHAR2(1), COLUMN2 VARCHAR2(1), COLUMN3 INT, COLUMN4 INT, COLUMN5 INT)
;
INSERT ALL
INTO TABLE1 (COLUMN1, COLUMN2, COLUMN3, COLUMN4, COLUMN5)
VALUES ('A', 'B', 5, 2, 3)
INTO TABLE1 (COLUMN1, COLUMN2, COLUMN3, COLUMN4, COLUMN5)
VALUES ('C', 'D', 1, 1, 1)
SELECT * FROM DUAL
Query 1:
select
case when lj.rn = 1 then t.column1 else t.column2 end as columnA
, t.column1
, t.column2
, t.column3
, t.column4
, t.column5
from table1 t
left join ( select 1 as rn from dual union all select 2 from dual ) lj
on (column3 + column4) > 5
Results:
| COLUMNA | COLUMN1 | COLUMN2 | COLUMN3 | COLUMN4 | COLUMN5 |
|---------|---------|---------|---------|---------|---------|
| A | A | B | 5 | 2 | 3 |
| B | A | B | 5 | 2 | 3 |
| D | C | D | 1 | 1 | 1 |
Query 2:
select
case when cj.rn = 1 then t.column1 else t.column2 end as columnA
, t.column1
, t.column2
, t.column3
, t.column4
, t.column5
from table1 t
cross join ( select 1 as rn from dual union all select 2 from dual ) cj
Results:
| COLUMNA | COLUMN1 | COLUMN2 | COLUMN3 | COLUMN4 | COLUMN5 |
|---------|---------|---------|---------|---------|---------|
| A | A | B | 5 | 2 | 3 |
| B | A | B | 5 | 2 | 3 |
| C | C | D | 1 | 1 | 1 |
| D | C | D | 1 | 1 | 1 |