@Override
	public String generateSql() {
		StringBuilder sqlBuiler = new StringBuilder();
		if (queries.size() > 0) {
			if (queries.size() > 1) {
				sqlBuiler.append("(");
			}
			sqlBuiler.append(queries.get(0).generateSql());
			if (queries.size() > 1) {
				for (int i=1;i<queries.size();i++) {
					sqlBuiler.append(" ").append(condition.sqlText).append(" ");
					sqlBuiler.append(queries.get(i).generateSql());
				}
				sqlBuiler.append(")");
			}
		}
		return sqlBuiler.toString();
	}