return result;
}
public double estimate(AndExpression and) {
// the case when we have the same single column on both sides
final Expression leftExpr = and.getLeftExpression();
final List<Column> leftColumns = ParserUtil.getJSQLColumns(leftExpr);
final Column leftColumn = leftColumns.get(0);
final Expression rightExpr = and.getRightExpression();
final List<Column> rightColumns = ParserUtil.getJSQLColumns(rightExpr);
final Column rightColumn = rightColumns.get(0);
if (leftColumn.toString().equals(rightColumn.toString()))
// not using leftExpr and rightExpr, because we want to preserve