DolphinDB读取数据时,怎么将两列并成一列呢?

使用DolphinDB读取一个表中的数据,具体数据格式如下:

attachments-2021-05-HdwR2jI060a654ef7ebc2.png现在date和time是单独的两列,我想把date和time合并成一列,显示时间信息,应该怎么办?

请先 登录 后评论

1 个回答

Juntao Wang

在query语句中使用concatDateTime()函数,具体方法如下:

select concatDateTime(date,timeas datetime,instrument,open,high,low,close from t;
请先 登录 后评论