case when id=1 then values end as 'A',
case when id=2 then values end as 'B'渗答,
case when id=3 then values end as 'C',
case when id=4 then values end as 'D'丛并慧蔽举,
max(create_time)
from 表 where create_time=(select max(create_time) from 表 )
group by
case when id=1 then values end ,
case when id=2 then values end ,
case when id=3 then values end ,
case when id=4 then values end
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)