Letakkan saja setiap bagian dalam tanda kurung. Bekerja di 12.2, bagaimanapun:
( Select * From tabl1 where Date = '04-MAR-2020' FETCH FIRST 1 ROW )
UNION ALL
( Select * From tabl1 where Date = '05-MAR-2020' FETCH FIRST 1 ROW )
Permintaan pengujian saya yang sebenarnya, bagi siapa pun yang tertarik adalah ini:
(select object_name
from user_objects
where object_type = 'TABLE'
order by object_name
fetch first 1 row only)
UNION ALL
(select object_name
from user_objects
where object_type = 'VIEW'
order by object_name
fetch first 1 row only);