private String prettifySql(String sql) {
	    StringBuilder buff = new StringBuilder();
	    int parenCnt = 0;
	    for (int i=0;  i<sql.length();  i++) {
	        char ch = sql.charAt(i);
	        if (ch == '(') {
	            parenCnt++;
	        } else if (ch == ')') {
	            parenCnt--;
	        }

	        buff.append(ch);
	        if (parenCnt == 0  &&  ch == ',') {
	            buff.append("\n");
	        }
	    }
	    return buff.toString();
	}