throws UnsupportedRdbmsOperatorException
{
boolean divide = node.getParentNode().equals(MathExpr.MathOp.DIVIDE);
ValueExpr left = node.getLeftArg();
ValueExpr right = node.getRightArg();
SqlCase sqlCase = new SqlCase();
sqlCase.when(in(str(DOUBLE), type(left), type(right)), str(DOUBLE));
sqlCase.when(in(str(FLOAT), type(left), type(right)), str(FLOAT));
sqlCase.when(in(str(DECIMAL), type(left), type(right)), str(DECIMAL));
sqlCase.when(new TrueValue(), divide ? str(DECIMAL) : str(INTEGER));
result = sqlCase;
}