I wanna enable the user to enter an excel formula on UI. Later this formula should be converted to SQL clause. For example, this:
IF(NOT(ISBLANK(A1));A1;B1)