SQL>create table rb as select rownum A, rownum b , rownum c from dual connect by level < 11;
Table created.
Elapsed: 00:00:00.31
SQL>select count(distinct a) from Rb
2 union all
3 select count(distinct B ) from Rb
4 union all
5 select count(distinct c) from Rb
6 /
COUNT(DISTINCTA)
----------------
10
10
10
Elapsed: 00:00:00.53
SQL>update rb set b = 3 where B > 5;
5 rows updated.
Elapsed: 00:00:00.26
SQL>commit;
Commit complete.
Elapsed: 00:00:00.26
SQL>select count(distinct a) from Rb
2 union all
3 select count(distinct B ) from Rb
4 union all
5 select count(distinct c) from Rb
6 /
COUNT(DISTINCTA)
----------------
10
5
10
Elapsed: 00:00:00.53
SQL>