How to add condition in where clause of select query? like
Select *
from table
where field1 = cond #( when flag = x then '111'
else '123')
into it_table.