怎样让查询的结果只返指定的字段

如 sql语句 select userid, username ,time from User表只返回id,名称,时间三个字段。
这个语句有语法错误吗https://leancloud.cn:443/1.1/classes/Article?cql=select articleName,articleNum from Articlel where categoryId=‘57148896df0eea0064a69ee1’

查询出来还是select * from Article 的结果,去不字段都出来了

@sdjcw

你们服务器返回的时间格式是UTC 请问怎样转换为 yyyy.MM.dd HH:mm:ss格式的时间 ,我转换出时间总对不上,我用的java

我的代码:
public static String utc2Local(String utcTime, String utcTimePatten,
String localTimePatten) {
SimpleDateFormat utcFormater = new SimpleDateFormat(utcTimePatten);
utcFormater.setTimeZone(TimeZone.getTimeZone("UTC"));
Date gpsUTCDate = null;
try {
gpsUTCDate = utcFormater.parse(utcTime);
} catch (ParseException e) {
e.printStackTrace();
}
SimpleDateFormat localFormater = new SimpleDateFormat(localTimePatten);
localFormater.setTimeZone(TimeZone.getDefault());
String localTime = localFormater.format(gpsUTCDate.getTime());
return localTime;
}
调用:
String newTime = utc2Local(time,"yyyy-MM-dd'T'HH:mm:ss.mmm'Z'","yyyy.MM.dd HH:mm:ss");
@sdjcw

    DateFormat utcFormat = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
    utcFormat.setTimeZone(TimeZone.getTimeZone("UTC"));

    Date date = utcFormat.parse("2016-08-15T02:40:25.768Z");

    DateFormat pstFormat = new SimpleDateFormat("yyyy.MM.dd HH:mm:ss.SSS");
    pstFormat.setTimeZone(TimeZone.getDefault());

    System.out.println(pstFormat.format(date)); // 2016.08.15 10:40:25.768

谢谢 完美解决了我的问题