private String writeIndexes() {
        StringBuilder sb = new StringBuilder();
        indexList = table.getIndexList();
        for ( IndexNode node : indexList ) {
            String param = "";
            for(Column col : node.getColumnList()){
            	param += col.getColName() + ", ";
            }
            param = param.substring( 0, param.length() - 2 );
            
            sb.append( "\nCREATE INDEX " + node.getIndexName() );
            sb.append( " ON " + table.getTableName() + "( " + param + " );" );

        }
        sb.append( "\n" );
        return sb.toString();
    }