摘要: test表结构和数据为:id starttime1 2010/11/121 2010/12/122 2011/3/2sql语句:select id,substr(aa,0,10) starttime1,substr(aa,21,10) starttime2,substr(aa,31,10) starttime3from (select t.id,WMSYS.WM_CONCAT(t.starttime) aa from test tgroup by t.id)显示结果:id starttime1 starttime2 starttime31 2010/11/12 2010/12/12 null2 阅读全文
posted @ 2011-09-07 17:36 八神吻你 阅读(3456) 评论(0) 推荐(0) 编辑