Discuss / Java / 交作业

交作业

Topic source

康208970

#1 Created at ... [Delete] [Delete and Lock User]

public static String buildSelectSql(String table,String[] fields){

var sj=new StringJoiner(",","SELECT "," From "+table);

for(String field:fields){
sj.add(field);
}
return sj.toString();
}
}


  • 1

Reply